diff options
author | Eric W. Biederman | 2012-09-11 07:39:43 +0200 |
---|---|---|
committer | Eric W. Biederman | 2012-09-18 03:08:54 +0200 |
commit | e1760bd5ffae8cb98cffb030ee8e631eba28f3d8 (patch) | |
tree | 4694a60b407c418bf7de4b97355dc3bd0e6c6559 /kernel/audit.h | |
parent | audit: Add typespecific uid and gid comparators (diff) | |
download | kernel-qcow2-linux-e1760bd5ffae8cb98cffb030ee8e631eba28f3d8.tar.gz kernel-qcow2-linux-e1760bd5ffae8cb98cffb030ee8e631eba28f3d8.tar.xz kernel-qcow2-linux-e1760bd5ffae8cb98cffb030ee8e631eba28f3d8.zip |
userns: Convert the audit loginuid to be a kuid
Always store audit loginuids in type kuid_t.
Print loginuids by converting them into uids in the appropriate user
namespace, and then printing the resulting uid.
Modify audit_get_loginuid to return a kuid_t.
Modify audit_set_loginuid to take a kuid_t.
Modify /proc/<pid>/loginuid on read to convert the loginuid into the
user namespace of the opener of the file.
Modify /proc/<pid>/loginud on write to convert the loginuid
rom the user namespace of the opener of the file.
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Eric Paris <eparis@redhat.com>
Cc: Paul Moore <paul@paul-moore.com> ?
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'kernel/audit.h')
0 files changed, 0 insertions, 0 deletions