summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorNicolas Dichtel <nicolas.dichtel@6wind.com>2015-04-08 18:36:40 +0200
committerDavid S. Miller <davem@davemloft.net>2015-04-08 15:19:16 -0400
commit2b7834d3e1b828429faa5dc41a480919e52d3f31 (patch)
treeb96e03b21a93c74db6d440fa8510c83d2f5a7d5e /security
parent387f989a60db00207c39b9fe9ef32c897356aaba (diff)
downloadlinux-stable-2b7834d3e1b828429faa5dc41a480919e52d3f31.tar.gz
linux-stable-2b7834d3e1b828429faa5dc41a480919e52d3f31.tar.bz2
linux-stable-2b7834d3e1b828429faa5dc41a480919e52d3f31.zip
selinux/nlmsg: add XFRM_MSG_NEWSPDINFO
This new command is missing. Fixes: 880a6fab8f6b ("xfrm: configure policy hash table thresholds by netlink") Reported-by: Christophe Gouault <christophe.gouault@6wind.com> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
-rw-r--r--security/selinux/nlmsgtab.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/selinux/nlmsgtab.c b/security/selinux/nlmsgtab.c
index c8cee0766b60..4bc90c2aaea2 100644
--- a/security/selinux/nlmsgtab.c
+++ b/security/selinux/nlmsgtab.c
@@ -103,6 +103,7 @@ static struct nlmsg_perm nlmsg_xfrm_perms[] =
{ XFRM_MSG_FLUSHPOLICY, NETLINK_XFRM_SOCKET__NLMSG_WRITE },
{ XFRM_MSG_NEWAE, NETLINK_XFRM_SOCKET__NLMSG_WRITE },
{ XFRM_MSG_GETAE, NETLINK_XFRM_SOCKET__NLMSG_READ },
+ { XFRM_MSG_NEWSPDINFO, NETLINK_XFRM_SOCKET__NLMSG_WRITE },
};
static struct nlmsg_perm nlmsg_audit_perms[] =