| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 0/4] xfs: Allow user to change project id in un-init userns |
| From: | Gao feng <gaofeng@xxxxxxxxxxxxxx> |
| Date: | Wed, 4 Sep 2013 14:38:33 +0800 |
| Cc: | dwight.engen@xxxxxxxxxx, david@xxxxxxxxxxxxx, bfoster@xxxxxxxxxx, ebiederm@xxxxxxxxxxxx, Gao feng <gaofeng@xxxxxxxxxxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 3/4] xfs: allow un-init user namespace to change file's project id, Gao feng |
|---|---|
| Next by Date: | sprÃvce systÃmu, ADMIN |
| Previous by Thread: | paypal order Best gift-all brand handbags ïsqiyeonp, xe |
| Next by Thread: | [PATCH 1/4] xfs: add helper function to convert project id between user and kernel space, Gao feng |
| Indexes: | [Date] [Thread] [Top] [All Lists] |