From a1120a8ea29d4a825cbbb796fa15d77b15ca401f Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 14 Aug 2007 10:27:56 +0000 Subject: [PATCH] syslogd: set syslog IPC buffer to mode 0644 --- sysklogd/syslogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } -- 2.25.1