diff options
author | James Morris <jmorris@namei.org> | 2005-08-15 20:34:48 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 16:01:15 -0700 |
commit | 216efaaaa006d2f3ecbb5bbc2b6673423813254e (patch) | |
tree | c05cd2d0ec829d18a8f85ff8611c0e1424303f52 /security/selinux/nlmsgtab.c | |
parent | 066286071d3542243baa68166acb779187c848b3 (diff) | |
download | op-kernel-dev-216efaaaa006d2f3ecbb5bbc2b6673423813254e.zip op-kernel-dev-216efaaaa006d2f3ecbb5bbc2b6673423813254e.tar.gz |
[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/nlmsgtab.c')
-rw-r--r-- | security/selinux/nlmsgtab.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/security/selinux/nlmsgtab.c b/security/selinux/nlmsgtab.c index 92b057b..69b9329 100644 --- a/security/selinux/nlmsgtab.c +++ b/security/selinux/nlmsgtab.c @@ -16,7 +16,7 @@ #include <linux/rtnetlink.h> #include <linux/if.h> #include <linux/netfilter_ipv4/ip_queue.h> -#include <linux/tcp_diag.h> +#include <linux/inet_diag.h> #include <linux/xfrm.h> #include <linux/audit.h> @@ -76,6 +76,7 @@ static struct nlmsg_perm nlmsg_firewall_perms[] = static struct nlmsg_perm nlmsg_tcpdiag_perms[] = { { TCPDIAG_GETSOCK, NETLINK_TCPDIAG_SOCKET__NLMSG_READ }, + { DCCPDIAG_GETSOCK, NETLINK_TCPDIAG_SOCKET__NLMSG_READ }, }; static struct nlmsg_perm nlmsg_xfrm_perms[] = |