projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bdfbc1
)
selinux/nlmsg: add RTM_GETNSID
author
Nicolas Dichtel
<nicolas.dichtel@6wind.com>
Wed, 8 Apr 2015 16:36:39 +0000
(18:36 +0200)
committer
David S. Miller
<davem@davemloft.net>
Wed, 8 Apr 2015 19:19:16 +0000
(15:19 -0400)
This new command is missing.
Fixes:
9a9634545c70
("netns: notify netns id events")
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
security/selinux/nlmsgtab.c
patch
|
blob
|
blame
|
history
diff --git
a/security/selinux/nlmsgtab.c
b/security/selinux/nlmsgtab.c
index 91228a7308011dba9dbdcf1d0151945522806120..c8cee0766b60b615831c5d9b5ba7957f7c51a61f 100644
(file)
--- a/
security/selinux/nlmsgtab.c
+++ b/
security/selinux/nlmsgtab.c
@@
-74,6
+74,7
@@
static struct nlmsg_perm nlmsg_route_perms[] =
{ RTM_DELMDB, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
{ RTM_GETMDB, NETLINK_ROUTE_SOCKET__NLMSG_READ },
{ RTM_NEWNSID, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
+ { RTM_DELNSID, NETLINK_ROUTE_SOCKET__NLMSG_READ },
{ RTM_GETNSID, NETLINK_ROUTE_SOCKET__NLMSG_READ },
};