diff options
author | Denis Vlasenko | 2007-08-14 10:27:56 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-08-14 10:27:56 +0000 |
commit | a1120a8ea29d4a825cbbb796fa15d77b15ca401f (patch) | |
tree | 5810fc510a8376c2e22290c44b28d5da76086cb1 /sysklogd/syslogd.c | |
parent | 3952f20c24ff3eed2ef6f4a9abd2d8a0aaa34a6e (diff) | |
download | busybox-a1120a8ea29d4a825cbbb796fa15d77b15ca401f.zip busybox-a1120a8ea29d4a825cbbb796fa15d77b15ca401f.tar.gz |
syslogd: set syslog IPC buffer to mode 0644
Diffstat (limited to 'sysklogd/syslogd.c')
-rw-r--r-- | sysklogd/syslogd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index 6ecbd16..72ecc6d 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"); } |