From 13c736499732d0fdad3da2500fbcfee3eb63f0a3 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Thu, 19 May 2005 14:20:07 +0000 Subject: [PATCH] Revert the shmget permission Oops, a part of another patch was merged accidentally. Reverted. --- src/pcm/pcm_dmix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pcm/pcm_dmix.c b/src/pcm/pcm_dmix.c index 79315f08..38ea3d5c 100644 --- a/src/pcm/pcm_dmix.c +++ b/src/pcm/pcm_dmix.c @@ -75,7 +75,7 @@ retryshm: err = -errno; if (dmix->u.dmix.shmid_sum < 0){ if (errno == EINVAL) - if ((tmpid = shmget(dmix->ipc_key + 1, 0, dmix->ipc_perm)) != -1) + if ((tmpid = shmget(dmix->ipc_key + 1, 0, 0666)) != -1) if (!shmctl(tmpid, IPC_STAT, &buf)) if (!buf.shm_nattch) /* no users so destroy the segment */ -- 2.47.1