diff options
author | Davidlohr Bueso <[email protected]> | 2013-09-11 14:26:23 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2013-09-11 15:59:42 -0700 |
commit | c2c737a0461e61a34676bd0bd1bc1a70a1b4e396 (patch) | |
tree | f8d9d21cbc43ac12a67bbc428cab083adb31cd30 /net/lapb/lapb_iface.c | |
parent | f42569b1388b1408b574a5e93a23a663647d4181 (diff) |
ipc,shm: shorten critical region for shmat
Similar to other system calls, acquire the kern_ipc_perm lock after doing
the initial permission and security checks.
[[email protected]: dont leave do_shmat with rcu lock held]
Signed-off-by: Davidlohr Bueso <[email protected]>
Tested-by: Sedat Dilek <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Manfred Spraul <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions