kernel-ark/net/netlabel
Eric W. Biederman e1760bd5ff 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>
2012-09-17 18:08:54 -07:00
..
Kconfig [NETLABEL]: Fix build failure. 2006-11-05 16:44:06 -08:00
Makefile doc: Update the email address for Paul Moore in various source files 2011-08-01 17:58:33 -07:00
netlabel_addrlist.c net: use IS_ENABLED(CONFIG_IPV6) 2011-12-11 18:25:16 -05:00
netlabel_addrlist.h net: use IS_ENABLED(CONFIG_IPV6) 2011-12-11 18:25:16 -05:00
netlabel_cipso_v4.c doc: Update the email address for Paul Moore in various source files 2011-08-01 17:58:33 -07:00
netlabel_cipso_v4.h doc: Update the email address for Paul Moore in various source files 2011-08-01 17:58:33 -07:00
netlabel_domainhash.c net: reintroduce missing rcu_assign_pointer() calls 2012-01-12 12:26:56 -08:00
netlabel_domainhash.h net: use IS_ENABLED(CONFIG_IPV6) 2011-12-11 18:25:16 -05:00
netlabel_kapi.c netlabel: use GFP flags from caller instead of GFP_ATOMIC 2012-03-22 19:29:57 -04:00
netlabel_mgmt.c net: use IS_ENABLED(CONFIG_IPV6) 2011-12-11 18:25:16 -05:00
netlabel_mgmt.h doc: Update the email address for Paul Moore in various source files 2011-08-01 17:58:33 -07:00
netlabel_unlabeled.c userns: Convert the audit loginuid to be a kuid 2012-09-17 18:08:54 -07:00
netlabel_unlabeled.h doc: Update the email address for Paul Moore in various source files 2011-08-01 17:58:33 -07:00
netlabel_user.c userns: Convert the audit loginuid to be a kuid 2012-09-17 18:08:54 -07:00
netlabel_user.h doc: Update the email address for Paul Moore in various source files 2011-08-01 17:58:33 -07:00