summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_elf_fdpic.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2013-02-01 03:21:47 -0800
committerEric W. Biederman <ebiederm@xmission.com>2013-02-13 06:15:29 -0800
commit9f309c86cf343c59c79d25d9bde5d4a895d2e81f (patch)
tree6be602b278f429a8c20795270305cb381615ccc6 /fs/binfmt_elf_fdpic.c
parent54f834cd5501fb5fc801e4719a3ad0c894a3af2c (diff)
downloadblackbird-op-linux-9f309c86cf343c59c79d25d9bde5d4a895d2e81f.tar.gz
blackbird-op-linux-9f309c86cf343c59c79d25d9bde5d4a895d2e81f.zip
nfs: Convert idmap to use kuids and kgids
Convert nfs_map_name_to_uid to return a kuid_t value. Convert nfs_map_name_to_gid to return a kgid_t value. Convert nfs_map_uid_to_name to take a kuid_t paramater. Convert nfs_map_gid_to_name to take a kgid_t paramater. Tweak nfs_fattr_map_owner_to_name to use a kuid_t intermediate value. Tweak nfs_fattr_map_group_to_name to use a kgid_t intermediate value. Which makes these functions properly handle kuids and kgids, including erroring of the generated kuid or kgid is invalid. Cc: "J. Bruce Fields" <bfields@fieldses.org> Cc: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud