projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
userns: add a user namespace owner of ipc ns
[linux-2.6-block.git]
/
ipc
/
msgutil.c
diff --git
a/ipc/msgutil.c
b/ipc/msgutil.c
index f095ee26883333fcc69d7c32e907a8f1949e2f3f..8b5ce5d3f3ef3e4f468d5afc4175cd22518fc029 100644
(file)
--- a/
ipc/msgutil.c
+++ b/
ipc/msgutil.c
@@
-32,6
+32,7
@@
struct ipc_namespace init_ipc_ns = {
.mq_msg_max = DFLT_MSGMAX,
.mq_msgsize_max = DFLT_MSGSIZEMAX,
#endif
+ .user_ns = &init_user_ns,
};
atomic_t nr_ipc_ns = ATOMIC_INIT(1);