summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_sysctl.c
diff options
context:
space:
mode:
authorDavidlohr Bueso <davidlohr.bueso@hp.com>2013-09-11 14:26:21 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-11 15:59:41 -0700
commit2caacaa82a51b78fc0c800e206473874094287ed (patch)
tree07dfe1f340d35d907de80f4a80296c72896cef2c /ipc/ipc_sysctl.c
parentc97cb9ccab8c85428ec21eff690642ad2ce1fa8a (diff)
downloadlinux-2caacaa82a51b78fc0c800e206473874094287ed.tar.bz2
ipc,shm: shorten critical region for shmctl
With the *_INFO, *_STAT, IPC_RMID and IPC_SET commands already optimized, deal with the remaining SHM_LOCK and SHM_UNLOCK commands. Take the shm_perm lock after doing the initial auditing and security checks. The rest of the logic remains unchanged. Signed-off-by: Davidlohr Bueso <davidlohr.bueso@hp.com> Tested-by: Sedat Dilek <sedat.dilek@gmail.com> Cc: Rik van Riel <riel@redhat.com> Cc: Manfred Spraul <manfred@colorfullife.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/ipc_sysctl.c')
0 files changed, 0 insertions, 0 deletions