selinux/nlmsg: add XFRM_MSG_GETSPDINFO
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Wed, 8 Apr 2015 16:36:41 +0000 (18:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Apr 2015 19:19:17 +0000 (15:19 -0400)
This command is missing.

Fixes: ecfd6b183780 ("[XFRM]: Export SPD info")
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
security/selinux/nlmsgtab.c

index 4bc90c2aaea21a211b77f39a5d7bda4cd4e55929..d4bccfcfcf2d119db4b3ff942db11efe7c3e12fb 100644 (file)
@@ -104,6 +104,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[] =