aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorNicolas Dichtel <nicolas.dichtel@6wind.com>2015-04-08 18:36:41 +0200
committerBrett Rogers <brettrogers11@gmail.com>2015-11-07 23:27:41 -0800
commit34c7edd0a09b30720ed80074b2bf01f9ee3efcdd (patch)
treeb7de578a23572cb6c3bad62ff7512d1f8929bd04 /security
parent8070bba0300accda179ccbd0bb792df635f89898 (diff)
downloadkernel_samsung_smdk4412-34c7edd0a09b30720ed80074b2bf01f9ee3efcdd.zip
kernel_samsung_smdk4412-34c7edd0a09b30720ed80074b2bf01f9ee3efcdd.tar.gz
kernel_samsung_smdk4412-34c7edd0a09b30720ed80074b2bf01f9ee3efcdd.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[] =