[PATCH 0/4] xfs: Allow user to change project id in un-init userns
Gao feng
gaofeng at cn.fujitsu.com
Wed Sep 4 01:38:33 CDT 2013
This patchset add two helper functions to convert user space project id
to kernel space project id without any struct changed.
Since the projid_map of user namespace has limit the range of valid project
ids for user namespace, we can safely allow user to change file's project
id in un-init user namespace.
Gao feng (4):
xfs: add helper function to convert project id between user and kernel
space
userns: ioctl: convert project id between user and kernel space
xfs: allow un-init user namespace to change file's project id
userns: eofblocks: convert project id from user to kernel space
fs/xfs/xfs_icache.h | 9 ++++++++-
fs/xfs/xfs_ioctl.c | 26 ++++++++++++--------------
fs/xfs/xfs_linux.h | 19 +++++++++++++++++++
3 files changed, 39 insertions(+), 15 deletions(-)
--
1.8.3.1
More information about the xfs
mailing list