From: Nicolas Dichtel Date: Wed, 8 Apr 2015 16:36:41 +0000 (+0200) Subject: selinux/nlmsg: add XFRM_MSG_GETSPDINFO X-Git-Tag: v3.18.17~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97cd3676ab52cc5943a19af63c6698639d532b8a;p=thirdparty%2Fkernel%2Fstable.git selinux/nlmsg: add XFRM_MSG_GETSPDINFO [ Upstream commit 5e6deebafb45fb271ae6939d48832e920b8fb74e ] This command is missing. Fixes: ecfd6b183780 ("[XFRM]: Export SPD info") Signed-off-by: Nicolas Dichtel Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- diff --git a/security/selinux/nlmsgtab.c b/security/selinux/nlmsgtab.c index 6a6b4a674aad9..5f9eefa7a73f7 100644 --- a/security/selinux/nlmsgtab.c +++ b/security/selinux/nlmsgtab.c @@ -101,6 +101,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[] =