projects
/
platform
/
core
/
system
/
dlog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f82369
)
libdlog: close Android Logger connections on exec
06/191706/1
author
Michal Bloch
<m.bloch@samsung.com>
Mon, 22 Oct 2018 12:16:18 +0000
(14:16 +0200)
committer
Michal Bloch
<m.bloch@samsung.com>
Mon, 22 Oct 2018 12:16:20 +0000
(14:16 +0200)
Change-Id: Ib6576073f3c0c7f224a9d0c9605f879a9f347cd0
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
src/libdlog/log_android.c
patch
|
blob
|
history
diff --git
a/src/libdlog/log_android.c
b/src/libdlog/log_android.c
index
8e4f4f8
..
3979b5b
100644
(file)
--- a/
src/libdlog/log_android.c
+++ b/
src/libdlog/log_android.c
@@
-79,7
+79,7
@@
void __dlog_init_android(const struct log_config *conf)
log_id_t buf_id;
for (buf_id = 0; buf_id < LOG_ID_MAX; ++buf_id) {
- int ret = logger_open_buffer_from_config(buf_id, conf, O_WRONLY, &log_fds[buf_id]);
+ int ret = logger_open_buffer_from_config(buf_id, conf, O_WRONLY
| O_CLOEXEC
, &log_fds[buf_id]);
if (ret < 0)
goto failure; //LCOV_EXCL_LINE