public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] xfs: Allow user to change project id in un-init userns
@ 2013-09-04  6:38 Gao feng
  2013-09-04  6:38 ` [PATCH 1/4] xfs: add helper function to convert project id between user and kernel space Gao feng
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Gao feng @ 2013-09-04  6:38 UTC (permalink / raw)
  To: xfs; +Cc: bfoster, dwight.engen, ebiederm, Gao feng

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

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-09-10  1:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-04  6:38 [PATCH 0/4] xfs: Allow user to change project id in un-init userns Gao feng
2013-09-04  6:38 ` [PATCH 1/4] xfs: add helper function to convert project id between user and kernel space Gao feng
2013-09-04  6:38 ` [PATCH 2/4] userns: ioctl: " Gao feng
2013-09-04  6:38 ` [PATCH 3/4] xfs: allow un-init user namespace to change file's project id Gao feng
2013-09-04  6:38 ` [PATCH 4/4] userns: eofblocks: convert project id from user to kernel space Gao feng
2013-09-06  1:30 ` [PATCH 0/4] xfs: Allow user to change project id in un-init userns Dave Chinner
2013-09-10  0:42   ` Dave Chinner
2013-09-10  1:20     ` Gao feng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox