linux_dsm_epyc7002/net
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
..
9p
802
8021q
appletalk userns: Print out socket uids in a user namespace aware fashion. 2012-08-14 21:48:06 -07:00
atm
ax25 userns: Convert net/ax25 to use kuid_t where appropriate 2012-08-14 21:49:42 -07:00
batman-adv
bluetooth
bridge
caif
can
ceph
core userns: Convert the audit loginuid to be a kuid 2012-09-17 18:08:54 -07:00
dcb
dccp
decnet
dns_resolver userns: net: Call key_alloc with GLOBAL_ROOT_UID, GLOBAL_ROOT_GID instead of 0, 0 2012-09-13 18:28:04 -07:00
dsa
ethernet
ieee802154
ipv4 userns: Teach inet_diag to work with user namespaces 2012-08-14 21:55:20 -07:00
ipv6 ipv6: move dereference after check in fl_free() 2012-08-16 16:04:42 -07:00
ipx userns: Print out socket uids in a user namespace aware fashion. 2012-08-14 21:48:06 -07:00
irda
iucv
key userns: Print out socket uids in a user namespace aware fashion. 2012-08-14 21:48:06 -07:00
l2tp
lapb
llc userns: Print out socket uids in a user namespace aware fashion. 2012-08-14 21:48:06 -07:00
mac80211
mac802154
netfilter userns: xt_owner: Add basic user namespace support. 2012-08-14 21:55:30 -07:00
netlabel userns: Convert the audit loginuid to be a kuid 2012-09-17 18:08:54 -07:00
netlink netlink: Make the sending netlink socket availabe in NETLINK_CB 2012-08-14 21:49:49 -07:00
netrom
nfc
openvswitch
packet userns: Print out socket uids in a user namespace aware fashion. 2012-08-14 21:48:06 -07:00
phonet userns: Print out socket uids in a user namespace aware fashion. 2012-08-14 21:48:06 -07:00
rds
rfkill
rose
rxrpc userns: net: Call key_alloc with GLOBAL_ROOT_UID, GLOBAL_ROOT_GID instead of 0, 0 2012-09-13 18:28:04 -07:00
sched userns: Convert cls_flow to work with user namespaces enabled 2012-08-14 21:55:28 -07:00
sctp userns: Print out socket uids in a user namespace aware fashion. 2012-08-14 21:48:06 -07:00
sunrpc
tipc
unix
wanrouter
wimax
wireless
x25
xfrm userns: Convert the audit loginuid to be a kuid 2012-09-17 18:08:54 -07:00
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c