aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/netnode.c
diff options
context:
space:
mode:
authorPaul Moore <[email protected]>2008-01-29 13:38:08 +0000
committerJames Morris <[email protected]>2008-01-29 21:17:21 +0000
commite8bfdb9d0dfc1231a6a71e849dfbd4447acdfff6 (patch)
tree0d786c0ad972e43d1128296b8e7ae47275ab3ebd /security/selinux/netnode.c
parentNetLabel: Add IP address family information to the netlbl_skbuff_getattr() fu... (diff)
downloadkernel-e8bfdb9d0dfc1231a6a71e849dfbd4447acdfff6.tar.gz
kernel-e8bfdb9d0dfc1231a6a71e849dfbd4447acdfff6.zip
SELinux: Convert the netif code to use ifindex values
The current SELinux netif code requires the caller have a valid net_device struct pointer to lookup network interface information. However, we don't always have a valid net_device pointer so convert the netif code to use the ifindex values we always have as part of the sk_buff. This patch also removes the default message SID from the network interface record, it is not being used and therefore is "dead code". Signed-off-by: Paul Moore <[email protected]> Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'security/selinux/netnode.c')
0 files changed, 0 insertions, 0 deletions