| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
- change cutils to liblog directory path
- change tabs to spaces
(cherry picked from commit c1215c0b46576771370ceb4e1b1d8fc5a7034cfd)
Change-Id: I7d9db1e2b817ba0ec9a224340c5c7535a2387fd5
|
|
|
|
|
|
|
|
|
| |
Move the liblog headers to log/ instead of cutils/ to complete
the separation of libcutils and liblog. cutils/log.h still
exists and includes log/log.h in order to support the many existing
modules that use cutils/log.h.
Change-Id: I2758c9f4aedcb809ca7ba8383d0f55041dd44345
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
File descriptors remain open across an exec unless FD_CLOEXEC is
set. Add O_CLOEXEC to the open() call to prevent file descriptor
leakage.
In particular, the following program will eventually run out of
file descriptors:
int main(int argc, char **argv) {
printf("===== entering main =====\n");
ALOGW("entering main");
system("ls -l /proc/self/fd/");
execv(argv[0], argv);
printf("exec failed\n");
return -1;
}
Change-Id: I5be43ab3b9f82a05f242b1f586454c50568af388
|
|
|
|
|
|
|
| |
Changing __android_log_write so the tag warns users relying on the
tag to direct log output to the radio buffer to instead use Rlog or RLOG.
Change-Id: I04b7bb5e620c1ab22b9b495382a252b539947e28
|
|
|
|
|
| |
Bug: 6497974
Change-Id: I7fba1a07e2552ce16131b81f30d18eb3192de7ef
|
|
|
|
|
| |
Bug: 6497974
Change-Id: I4691f287b0abdce03ff211bd5b5b0037b8818ec9
|
|
|
|
|
|
| |
Revert "Fix build warnings"
This reverts commit 590e364868b6466e169f2647e95462ba2558dd00.
|
|
|
|
| |
Change-Id: Ie24cf8e729813e4527c698fc7c1502a1efbc63e5
|
|
|
|
|
|
|
|
|
|
|
|
| |
Invoking LOG_ASSERT, LOG_ALWAYS_FATAL or LOG_ALWAYS_FATAL_IF variadic macros
without the printf format string arg caused compilation errors because the
variable arg list (__VA_ARGS__) was eventually passed to
__android_log_assert() func in place of a required parameter. This error
only occured in debug builds because LOG_ASSERT() is a no-op in release
builds. This change allows debug builds to succeed.
Change-Id: I7e7b7de3e501133468ce083e0e0d6e699dd59667
Signed-off-by: Chris Pearson <christopherx.c.pearson@intel.com>
|
| |
|
|
|
|
| |
macros work.
|
| |
|
|
|
|
|
|
| |
from donutburger.
Automated import of CL 144245
|
| |
|
| |
|
| |
|
| |
|
|
|