projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52db70d
)
selinux/nlmsg: add XFRM_MSG_REPORT
author
Nicolas Dichtel
<nicolas.dichtel@6wind.com>
Fri, 10 Apr 2015 14:24:26 +0000
(16:24 +0200)
committer
David S. Miller
<davem@davemloft.net>
Mon, 13 Apr 2015 01:19:40 +0000
(21:19 -0400)
This command is missing.
Fixes: 97a64b4577ae ("[XFRM]: Introduce XFRM_MSG_REPORT.")
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>
security/selinux/nlmsgtab.c
patch
|
blob
|
history
diff --git
a/security/selinux/nlmsgtab.c
b/security/selinux/nlmsgtab.c
index 4e21b72dd7093ff7ff0c116b44bb8d75ee2db3b5..7d49312b30e1c6e9f231cf739ea7ff6b32a4f294 100644
(file)
--- a/
security/selinux/nlmsgtab.c
+++ b/
security/selinux/nlmsgtab.c
@@
-103,6
+103,7
@@
static struct nlmsg_perm nlmsg_xfrm_perms[] =
{ XFRM_MSG_FLUSHPOLICY, NETLINK_XFRM_SOCKET__NLMSG_WRITE },
{ XFRM_MSG_NEWAE, NETLINK_XFRM_SOCKET__NLMSG_WRITE },
{ XFRM_MSG_GETAE, NETLINK_XFRM_SOCKET__NLMSG_READ },
+ { XFRM_MSG_REPORT, NETLINK_XFRM_SOCKET__NLMSG_READ },
{ XFRM_MSG_NEWSADINFO, NETLINK_XFRM_SOCKET__NLMSG_READ },
{ XFRM_MSG_GETSADINFO, NETLINK_XFRM_SOCKET__NLMSG_READ },
{ XFRM_MSG_NEWSPDINFO, NETLINK_XFRM_SOCKET__NLMSG_WRITE },