projects
/
platform
/
core
/
system
/
swap-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4df32f
)
[FIX] unload modules on EFL instrumentation
06/23106/1
author
Vitaliy Cherepanov
<v.cherepanov@samsung.com>
Tue, 17 Jun 2014 14:38:03 +0000
(18:38 +0400)
committer
Vitaliy Cherepanov
<v.cherepanov@samsung.com>
Tue, 17 Jun 2014 14:38:03 +0000
(18:38 +0400)
add O_CLOEXEC param on open tasks dev (fopen(..., "e"))
Change-Id: I113e8a8cde4f9ba2d32e279aeddc3d97d84c60e8
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
daemon/buffer.c
patch
|
blob
|
history
diff --git
a/daemon/buffer.c
b/daemon/buffer.c
index
ba2615e
..
c2fc635
100644
(file)
--- a/
daemon/buffer.c
+++ b/
daemon/buffer.c
@@
-43,7
+43,7
@@
static int open_tasks_dev(void)
{
if (manager.fd.inst_tasks == NULL) {
- manager.fd.inst_tasks = fopen(INST_PID_FILENAME, "r");
+ manager.fd.inst_tasks = fopen(INST_PID_FILENAME, "r
e
");
if (manager.fd.inst_tasks == NULL) {
LOGE("Cannot open tasks dev: %s\n", strerror(errno));
return 1;