aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorNicolas Dichtel <nicolas.dichtel@6wind.com>2015-04-08 18:36:41 +0200
committerZiyan <jaraidaniel@gmail.com>2016-03-11 16:02:20 +0100
commit26ba799b632371130b6a2c46aa1b1b2533a58400 (patch)
tree43807092f60c54ab2737ce7f0b22425e8a5a2e3e /security
parent44db5fe0efe498ef6d0f382ab88b90ba8b4ba23c (diff)
downloadkernel_samsung_espresso10-26ba799b632371130b6a2c46aa1b1b2533a58400.zip
kernel_samsung_espresso10-26ba799b632371130b6a2c46aa1b1b2533a58400.tar.gz
kernel_samsung_espresso10-26ba799b632371130b6a2c46aa1b1b2533a58400.tar.bz2
selinux/nlmsg: add XFRM_MSG_GETSPDINFO
commit 5e6deebafb45fb271ae6939d48832e920b8fb74e upstream (net-next). This command is missing. Change-Id: Id0a0d9bf7a4af98a8f761fec902d1296138a911f Fixes: ecfd6b183780 ("[XFRM]: Export SPD info") 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 351fa2b..7ecef56 100644
--- a/security/selinux/nlmsgtab.c
+++ b/security/selinux/nlmsgtab.c
@@ -100,6 +100,7 @@ static struct nlmsg_perm nlmsg_xfrm_perms[] =
{ XFRM_MSG_NEWAE, NETLINK_XFRM_SOCKET__NLMSG_WRITE },
{ XFRM_MSG_GETAE, NETLINK_XFRM_SOCKET__NLMSG_READ },
{ XFRM_MSG_NEWSPDINFO, NETLINK_XFRM_SOCKET__NLMSG_WRITE },
+ { XFRM_MSG_GETSPDINFO, NETLINK_XFRM_SOCKET__NLMSG_READ },
};
static struct nlmsg_perm nlmsg_audit_perms[] =