projects
/
~shefty
/
ibacm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2168f8c
)
ibacm: Remove umask(0)
author
Sean Hefty
<sean.hefty@intel.com>
Tue, 9 Oct 2012 18:33:27 +0000
(11:33 -0700)
committer
Sean Hefty
<sean.hefty@intel.com>
Tue, 9 Oct 2012 18:33:27 +0000
(11:33 -0700)
This causes ibacm files to be created as world writable.
Problem reported by Florian Weimer <fweimer@redhat.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
src/acm.c
patch
|
blob
|
history
diff --git
a/src/acm.c
b/src/acm.c
index
00fc35d
..
725cde2
100644
(file)
--- a/
src/acm.c
+++ b/
src/acm.c
@@
-3182,8
+3182,6
@@
static void daemonize(void)
if (pid)
exit(pid < 0);
- umask(0);
-
sid = setsid();
if (sid < 0)
exit(1);