aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2005-08-15 20:34:48 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 16:01:15 -0700
commit216efaaaa006d2f3ecbb5bbc2b6673423813254e (patch)
treec05cd2d0ec829d18a8f85ff8611c0e1424303f52 /security/selinux/hooks.c
parent[NETLINK]: Add "groups" argument to netlink_kernel_create (diff)
downloadlinux-dev-216efaaaa006d2f3ecbb5bbc2b6673423813254e.tar.xz
linux-dev-216efaaaa006d2f3ecbb5bbc2b6673423813254e.zip
[SELINUX]: Update for tcp_diag rename to inet_diag.
Also, support dccp sockets. Signed-off-by: James Morris <jmorris@namei.org> Signed-off-by: David S. Miller <davem@davemloft.net>
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;