linux/ipc
Linus Torvalds 140d0b2108 Do 'shm_init_ns()' in an early pure_initcall
This isn't really critical any more, since other patches (commit
298507d4d2cf: "shm: optimize exit_shm()") have caused us to not actually
need to touch the rw_mutex unless there are actual shm segments
associated with the namespace, but we really should do tne shm_init_ns()
earlier than we do now.

This, together with commit 288d5abec8 ("Boot up with usermodehelper
disabled") will mean that we really do initialize the initial ipc
namespace data structure before we run any tasks.

Tested-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-08-04 19:35:59 -10:00
..
Makefile
compat.c ipc: initialize structure memory to zero for compat functions 2010-10-27 18:03:13 -07:00
compat_mq.c ipc: initialize structure memory to zero for compat functions 2010-10-27 18:03:13 -07:00
ipc_sysctl.c ipc: introduce shm_rmid_forced sysctl 2011-07-26 16:49:44 -07:00
ipcns_notifier.c
mq_sysctl.c
mqueue.c ipc/mqueue.c: fix mq_open() return value 2011-07-26 16:49:44 -07:00
msg.c Fix common misspellings 2011-03-31 11:26:23 -03:00
msgutil.c userns: add a user namespace owner of ipc ns 2011-03-23 19:47:07 -07:00
namespace.c ns proc: Add support for the ipc namespace 2011-05-10 14:35:47 -07:00
sem.c ipc/sem.c: fix race with concurrent semtimedop() timeouts and IPC_RMID 2011-07-25 20:57:07 -07:00
shm.c Do 'shm_init_ns()' in an early pure_initcall 2011-08-04 19:35:59 -10:00
syscall.c
util.c ipc,rcu: Convert call_rcu(ipc_immediate_free) to kfree_rcu() 2011-07-20 14:10:16 -07:00
util.h userns: user namespaces: convert several capable() calls 2011-03-23 19:47:08 -07:00