summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorNicolas Dichtel <nicolas.dichtel@6wind.com>2015-04-10 16:24:28 +0200
committerDavid S. Miller <davem@davemloft.net>2015-04-12 21:19:40 -0400
commitbd2cba07381a6dba60bc1c87ed8b37931d244da1 (patch)
treeb94d476884c2fbefa94b2474b3d0f4aec83476cd /security
parent8d465bb777179c4bea731b828ec484088cc9fbc1 (diff)
downloadlinux-stable-bd2cba07381a6dba60bc1c87ed8b37931d244da1.tar.gz
linux-stable-bd2cba07381a6dba60bc1c87ed8b37931d244da1.tar.bz2
linux-stable-bd2cba07381a6dba60bc1c87ed8b37931d244da1.zip
selinux/nlmsg: add XFRM_MSG_MAPPING
This command is missing. Fixes: 3a2dfbe8acb1 ("xfrm: Notify changes in UDP encapsulation via netlink") CC: Martin Willi <martin@strongswan.org> Reported-by: Stephen Smalley <sds@tycho.nsa.gov> 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 9bd7f93109a1..30594bfa5fb1 100644
--- a/security/selinux/nlmsgtab.c
+++ b/security/selinux/nlmsgtab.c
@@ -109,6 +109,7 @@ static struct nlmsg_perm nlmsg_xfrm_perms[] =
{ XFRM_MSG_GETSADINFO, NETLINK_XFRM_SOCKET__NLMSG_READ },
{ XFRM_MSG_NEWSPDINFO, NETLINK_XFRM_SOCKET__NLMSG_WRITE },
{ XFRM_MSG_GETSPDINFO, NETLINK_XFRM_SOCKET__NLMSG_READ },
+ { XFRM_MSG_MAPPING, NETLINK_XFRM_SOCKET__NLMSG_READ },
};
static struct nlmsg_perm nlmsg_audit_perms[] =