aboutsummaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-08-14 10:27:56 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-08-14 10:27:56 +0000
commita1120a8ea29d4a825cbbb796fa15d77b15ca401f (patch)
tree5810fc510a8376c2e22290c44b28d5da76086cb1 /sysklogd
parent3952f20c24ff3eed2ef6f4a9abd2d8a0aaa34a6e (diff)
downloadbusybox-a1120a8ea29d4a825cbbb796fa15d77b15ca401f.tar.gz
busybox-a1120a8ea29d4a825cbbb796fa15d77b15ca401f.tar.bz2
syslogd: set syslog IPC buffer to mode 0644
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/syslogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 6ecbd16f0..72ecc6de1 100644
--- 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");
}