projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
syslogd: set syslog IPC buffer to mode 0644
[oweals/busybox.git]
/
sysklogd
/
syslogd.c
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");
}