]> git.baikalelectronics.ru Git - kernel.git/commit
9p: Modify struct v9fs_session_info to use a kuids and kgids
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 30 Jan 2013 19:57:40 +0000 (11:57 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 12 Feb 2013 11:19:33 +0000 (03:19 -0800)
commit03c49cbdd6b6291a7c3bd6bc6eee68a97ee86f50
tree535c8cca578b3284611ad1375f0c352aaceca4fa
parentc88d26910f08b54b0027ef917d578207fdb9e51d
9p: Modify struct v9fs_session_info to use a kuids and kgids

Change struct v9fs_session_info and the code that popluates it to use
kuids and kgids.  When parsing the 9p mount options convert the
dfltuid, dflutgid, and the session uid from the current user namespace
into kuids and kgids.  Modify V9FS_DEFUID and V9FS_DEFGUID to be kuid
and kgid values.

Cc: Eric Van Hensbergen <ericvh@gmail.com>
Cc: Ron Minnich <rminnich@gmail.com>
Cc: Latchesar Ionkov <lucho@ionkov.net>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
fs/9p/v9fs.c
fs/9p/v9fs.h