aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorJames Morris <[email protected]>2005-08-16 03:34:48 +0000
committerDavid S. Miller <[email protected]>2005-08-29 23:01:15 +0000
commit216efaaaa006d2f3ecbb5bbc2b6673423813254e (patch)
treec05cd2d0ec829d18a8f85ff8611c0e1424303f52 /security/selinux/hooks.c
parent[NETLINK]: Add "groups" argument to netlink_kernel_create (diff)
downloadkernel-216efaaaa006d2f3ecbb5bbc2b6673423813254e.tar.gz
kernel-216efaaaa006d2f3ecbb5bbc2b6673423813254e.zip
[SELINUX]: Update for tcp_diag rename to inet_diag.
Also, support dccp sockets. Signed-off-by: James Morris <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r--security/selinux/hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 2253f388234f..8641f8894b4c 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -659,7 +659,7 @@ static inline u16 socket_type_to_security_class(int family, int type, int protoc
return SECCLASS_NETLINK_ROUTE_SOCKET;
case NETLINK_FIREWALL:
return SECCLASS_NETLINK_FIREWALL_SOCKET;
- case NETLINK_TCPDIAG:
+ case NETLINK_INET_DIAG:
return SECCLASS_NETLINK_TCPDIAG_SOCKET;
case NETLINK_NFLOG:
return SECCLASS_NETLINK_NFLOG_SOCKET;