projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f9755d
)
selinux/nlmsg: add RTM_NEWNSID and RTM_GETNSID
author
Nicolas Dichtel
<
[email protected]
>
Wed, 8 Apr 2015 16:36:38 +0000
(18:36 +0200)
committer
David S. Miller
<
[email protected]
>
Wed, 8 Apr 2015 19:19:15 +0000
(15:19 -0400)
These new commands are missing.
Fixes: 0c7aecd4bde4 ("netns: add rtnl cmd to add and get peer netns ids")
Signed-off-by: Nicolas Dichtel <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
security/selinux/nlmsgtab.c
patch
|
blob
|
history
diff --git
a/security/selinux/nlmsgtab.c
b/security/selinux/nlmsgtab.c
index 2df7b900e25965828ed91e3bd376340a672d9c0f..91228a7308011dba9dbdcf1d0151945522806120 100644
(file)
--- a/
security/selinux/nlmsgtab.c
+++ b/
security/selinux/nlmsgtab.c
@@
-73,6
+73,8
@@
static struct nlmsg_perm nlmsg_route_perms[] =
{ RTM_NEWMDB, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
{ RTM_DELMDB, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
{ RTM_GETMDB, NETLINK_ROUTE_SOCKET__NLMSG_READ },
+ { RTM_NEWNSID, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
+ { RTM_GETNSID, NETLINK_ROUTE_SOCKET__NLMSG_READ },
};
static struct nlmsg_perm nlmsg_tcpdiag_perms[] =