From: Denis Vlasenko Date: Tue, 14 Aug 2007 10:27:56 +0000 (-0000) Subject: syslogd: set syslog IPC buffer to mode 0644 X-Git-Tag: 1_7_0~52 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a1120a8ea29d4a825cbbb796fa15d77b15ca401f;p=oweals%2Fbusybox.git syslogd: set syslog IPC buffer to mode 0644 --- 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"); }