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)
commitbc1b69ed22a704fb1cc83d75b2eb46508a06c820
treedb9d3feb6cc45303c8bbda31d4ce6a3569eda929
parent2b8576cb09a7b1b581c253554bf9e05d3adce7d6
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