| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
deleted nodes"
* commit '03c0adab88fcb91393f934f213f953c1f23762d5':
sdcard: Properly handle deleted nodes
|
| |\
| | |
| | |
| | |
| | | |
* commit '6a99ff0adfa8949cce11cd47142a3d550421904e':
sdcard: Properly handle deleted nodes
|
| | |\
| | | |
| | | |
| | | |
| | | | |
* commit '3a4aedfcd3354b903aa48a836cb55ee01db9f896':
sdcard: Properly handle deleted nodes
|
| | | |\ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The sdcard fuse deamon is not properly handling deleted nodes that are
still in use (opened by some process). Typically Linux filesystems makes
it possible to open a file, unlink it and then still use it. In case of a
storage emulated by sdcard deamon this does not work as expected - other
process are not able to recreate file/dir with the same name until all
references to deleted file are closed.
The easiest way to trigger this problem is:
process1: mkdir /sdcard/test1; cd /sdcard/test1
process2: rm -r /sdcard/test1
process2: mkdir /sdcard/test1
After that, process2 will get an error:
mkdir failed for /sdcard/test1, Device or resource busy
There is exactly the same problem with files as directories.
This may case issues for example with directories that are
automatically recreated when they are missing (like DCIM directory). If
some process holds file opened inside of such directory but that
directory is removed, process trying to recreate the directory will get
EBUSY error and possibly crash.
Verified on the Z Ultra GPE.
Change-Id: I1cbf0bec135e6aaafba0ce8e5bb594e3639e0007
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit 'b21bd7729137d5c2894b4425609d07f48f36d460':
Fix "adb devices -l".
|
| |\ \ \ \
| | |/ / /
| | | | |
| | | | |
| | | | | |
* commit 'a62eac5ca034f8366eefabe9f3225e7f06280e3b':
Fix "adb devices -l".
|
| | |\ \ \
| | | |/ /
| | | | |
| | | | |
| | | | | |
* commit '50f192fafa7af2929c663a37dc4dc56610c07b41':
Fix "adb devices -l".
|
| | | |\ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change 055f1aa4ff58ba71133d506b202ad46612758ded switched to using isalnum(3)
but didn't take into account that isalnum has the opposite sense to the
function it replaced, so the tests should have been inverted.
Bug: http://b/20056546
Change-Id: I90630c0bea69ddbb4a95dc09f79f49d23fd497de
|
|\ \ \ \ \ \
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
* commit '0163049399f805dd73a6161c51f47be40709fce7':
Support arbitrary loggers.
|
| |\ \ \ \ \
| | |/ / / /
| | | | | |
| | | | | |
| | | | | | |
* commit 'de0e80d20de68469f445d9c425f3e351048be7ea':
Support arbitrary loggers.
|
| | |\ \ \ \
| | | |/ / /
| | | | | |
| | | | | |
| | | | | | |
* commit 'f78ff16aeed0e997124dff594f1ddc193741a7b3':
Support arbitrary loggers.
|
| | | |\ \ \
| | | | |/ /
| | | |/| | |
|
| | | |/ /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
While the defaults (logd or stderr) make sense for most use cases,
there are places that can only log to the kernel, or need to log to a
file, etc.
Allow the user to pass in an arbitrary logging object, and provide
LogdLogger and StderrLogger as defaults.
Change-Id: I62368acc795ff313242bb205d65017404bf64e88
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit '6c7c6d0420ca837b81927b2f7c08cd9d92533043':
Only Windows doesn't have %zd.
|
| |\ \ \ \
| | |/ / /
| | | | |
| | | | |
| | | | | |
* commit '7c1945254ea3ae6ddb7fafb7d1a03b347ec76c91':
Only Windows doesn't have %zd.
|
| | |\ \ \
| | | |/ /
| | | | |
| | | | |
| | | | | |
* commit 'ea975880112c27293800ede36e0323ff2a7b9322':
Only Windows doesn't have %zd.
|
| | | |\ \ |
|
| | | |/ /
| | | | |
| | | | |
| | | | | |
Change-Id: Ie09619df212cf7c8aa18a6d46c3e6b6ca3f478cf
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit '68a4dbdab7ffcc8b01f406e1bdbb5984115e1fae':
Share log writing code.
|
| |\ \ \ \
| | |/ / /
| | | | |
| | | | |
| | | | | |
* commit 'f1c534b7d74e0b339c903732bf1b86506f20845a':
Share log writing code.
|
| | |\ \ \
| | | |/ /
| | | | |
| | | | |
| | | | | |
* commit 'eb56013348668a292fb7302e34752a2b9cbcb834':
Share log writing code.
|
| | | |\ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
__android_log_write() was just a special form of
__android_log_buf_write that used a default log ID and set the abort
message for fatal messages. Presumably the latter was intended to be
set for __android_log_buf_write as well.
Change-Id: I51cff7561a2754676b2088d95fa4f4505ac3c3c2
|
|\ \ \ \ \ \
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
buffers."
* commit '59193bc3a70987f025e6056f7c6048980ead4da6':
Support logging to other log buffers.
|
| |\ \ \ \ \
| | |/ / / /
| | | | | |
| | | | | |
| | | | | | |
* commit '199ef0a6983ac99fd2773b2efaeda0455a23a214':
Support logging to other log buffers.
|
| | |\ \ \ \
| | | |/ / /
| | | | | |
| | | | | |
| | | | | | |
* commit '87eca3cb4b1593d36945aad90cb179c4c5c906be':
Support logging to other log buffers.
|
| | | |\ \ \ |
|
| | | |/ / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
LOGTO(dest, severity) and PLOGTO(dest, severity) log to other log
buffers. For example, `LOGTO(SYSTEM, FATAL) << "Foobar";`.
Change-Id: Id1ca1c8fdae72d69b73945ae9b006525d0be1582
|
|\ \ \ \ \ \
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
LogMessage::LogLineLowStack."
* commit '87044e667e0a0f7fbbb893742c441209072096a0':
Remove LogMessage::LogLineLowStack.
|
| |\ \ \ \ \
| | |/ / / /
| | | | | |
| | | | | |
| | | | | | |
* commit '5a50b16e38800e973a1afc5812983d06e8b9b7ef':
Remove LogMessage::LogLineLowStack.
|
| | |\ \ \ \
| | | |/ / /
| | | | | |
| | | | | |
| | | | | | |
* commit '8ea5dd8c6e14e889e917a7e51a1b62bd49ca1dab':
Remove LogMessage::LogLineLowStack.
|
| | | |\ \ \ |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This was ported over from ART, but even they only use it in a single
place.
Change-Id: Ia34dc54b56c764ede79b2957bf3dc8df0f1323ee
|
|\ \ \ \ \ \ \
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
rvalue references."
* commit '419c4fbe6ae971e9a99b2ee836dea8491593767e':
Don't show lint errors for rvalue references.
|
| |\ \ \ \ \ \
| | |/ / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
* commit '90e737a48468cf1e87af8c4ef321937aa4940fea':
Don't show lint errors for rvalue references.
|
| | |\ \ \ \ \
| | | |/ / / /
| | | | | | |
| | | | | | |
| | | | | | | |
* commit 'cc71951a8a6ffac2bd70d99fe25860f7bb71c5ec':
Don't show lint errors for rvalue references.
|
| | | |\ \ \ \ |
|
| | | | | |/ /
| | | | |/| |
| | | | | | |
| | | | | | | |
Change-Id: Ic936c9e3778303d1d26813b844ccd3bb26701550
|
|\ \ \ \ \ \ \
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
* commit '63ef8e28c702abd46f22709fe61c96afeda8c00a':
Lose umount to toybox.
|
| |\ \ \ \ \ \
| | |/ / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
* commit '741b89ddfd56c52c9a8ae1549dff686fe679500f':
Lose umount to toybox.
|
| | |\ \ \ \ \
| | | |/ / / /
| | | | | | |
| | | | | | |
| | | | | | | |
* commit '691b44f55f8046c1464c31961182d8ff647697e2':
Lose umount to toybox.
|
| | | |\ \ \ \ |
|
| | | |/ / / /
| | | | | | |
| | | | | | |
| | | | | | | |
Change-Id: Ide35731c37d70ccb38a5e84b7310434ce6c3aa6e
|
|\ \ \ \ \ \ \
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
android_get_control_socket."
* commit 'cd8683709c2d1bcac7e3b9de827a2dfc8f24bf09':
Just use snprintf for android_get_control_socket.
|
| |\ \ \ \ \ \
| | |/ / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
android_get_control_socket."
* commit 'b2c3473d35d2fb8ea7bec9de290f7add979e5474':
Just use snprintf for android_get_control_socket.
|
| | |\ \ \ \ \
| | | |/ / / /
| | | | | | |
| | | | | | |
| | | | | | | |
* commit '70df6f85fe8164010be3e4e1cf87e1dd31fb7614':
Just use snprintf for android_get_control_socket.
|
| | | |\ \ \ \
| | | | |_|/ /
| | | |/| | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Change-Id: I3d0da03847f79c9f9b2cfd7189a07f63b17fc4a2
|