syslogd: set syslog IPC buffer to mode 0644
This commit is contained in:
parent
3952f20c24
commit
a1120a8ea2
@ -201,7 +201,7 @@ static void ipcsyslog_init(void)
|
|||||||
if (DEBUG)
|
if (DEBUG)
|
||||||
printf("shmget(%lx, %d,...)\n", KEY_ID, G.shm_size);
|
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) {
|
if (G.shmid == -1) {
|
||||||
bb_perror_msg_and_die("shmget");
|
bb_perror_msg_and_die("shmget");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user