]> git.baikalelectronics.ru Git - kernel.git/commit
userns: Allow the unprivileged users to mount mqueue fs
authorGao feng <gaofeng@cn.fujitsu.com>
Mon, 28 Jan 2013 03:09:01 +0000 (11:09 +0800)
committerEric W. Biederman <ebiederm@xmission.com>
Mon, 28 Jan 2013 03:25:50 +0000 (19:25 -0800)
commitc7b87de12a88bb982d63a1ac4ae82c239a843b93
treedb9d3feb6cc45303c8bbda31d4ce6a3569eda929
parent4277c30c9782e0f5985cd479184938d929ed7db1
userns: Allow the unprivileged users to mount mqueue fs

This patch allow the unprivileged user to mount mqueuefs in
user ns.

If two userns share the same ipcns,the files in mqueue fs
should be seen in both these two userns.

If the userns has its own ipcns,it has its own mqueue fs too.
ipcns has already done this job well.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
ipc/mqueue.c