autofs4: track uid and gid of last mount requester
Track the uid and gid of the last process to request a mount for on an autofs dentry. [akpm@linux-foundation.org: fix tpyo in comment] Signed-off-by: Ian Kent <raven@themaw.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
@ -63,6 +63,9 @@ struct autofs_info {
|
||||
unsigned long last_used;
|
||||
atomic_t count;
|
||||
|
||||
uid_t uid;
|
||||
gid_t gid;
|
||||
|
||||
mode_t mode;
|
||||
size_t size;
|
||||
|
||||
|
Reference in New Issue
Block a user