diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2015-04-10 16:24:28 +0200 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2015-06-28 13:39:25 -0400 |
commit | 8db8f8f39c21d93bb50de6a4e12ad1aea21411ef (patch) | |
tree | 14e5ce04b5c4c8817a2996303ce7d0eeef9ff25b /security | |
parent | d4c2dc5980c149689974c3c4761f4f33978d20c4 (diff) | |
download | lwn-8db8f8f39c21d93bb50de6a4e12ad1aea21411ef.tar.gz lwn-8db8f8f39c21d93bb50de6a4e12ad1aea21411ef.zip |
selinux/nlmsg: add XFRM_MSG_MAPPING
[ Upstream commit bd2cba07381a6dba60bc1c87ed8b37931d244da1 ]
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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'security')
-rw-r--r-- | security/selinux/nlmsgtab.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/selinux/nlmsgtab.c b/security/selinux/nlmsgtab.c index 404a81186c11..902b5e9cec7e 100644 --- a/security/selinux/nlmsgtab.c +++ b/security/selinux/nlmsgtab.c @@ -106,6 +106,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[] = |