projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3952f20
)
syslogd: set syslog IPC buffer to mode 0644
author
Denis Vlasenko
<vda.linux@googlemail.com>
Tue, 14 Aug 2007 10:27:56 +0000
(10:27 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Tue, 14 Aug 2007 10:27:56 +0000
(10:27 -0000)
sysklogd/syslogd.c
patch
|
blob
|
history
diff --git
a/sysklogd/syslogd.c
b/sysklogd/syslogd.c
index 6ecbd16f018c17498fbda581f365da5ae2d4de2f..72ecc6de14211d25121ef5751597bfc0d8273c07 100644
(file)
--- a/
sysklogd/syslogd.c
+++ b/
sysklogd/syslogd.c
@@
-201,7
+201,7
@@
static void ipcsyslog_init(void)
if (DEBUG)
printf("shmget(%lx, %d,...)\n", KEY_ID, G.shm_size);
- G.shmid = shmget(KEY_ID, G.shm_size, IPC_CREAT |
1023
);
+ G.shmid = shmget(KEY_ID, G.shm_size, IPC_CREAT |
0644
);
if (G.shmid == -1) {
bb_perror_msg_and_die("shmget");
}