diff options
author | Cong Wang <amwang@redhat.com> | 2012-12-07 13:59:48 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-10 14:09:01 -0500 |
commit | 6e73d71d8485607c692302d2058894588e3a387f (patch) | |
tree | ef660acbe7b5076beca493af6fe351ed17404fa0 /security | |
parent | 7c77ab24e30bad7598b5cfda93be6f32ed439c2f (diff) |
rtnetlink: add missing message types to selinux perm table
Rebased on the latest net-next tree.
RTM_NEWNETCONF and RTM_GETNETCONF are missing in this table.
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
-rw-r--r-- | security/selinux/nlmsgtab.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/security/selinux/nlmsgtab.c b/security/selinux/nlmsgtab.c index 163aaa77d5aa..370a6468b3ba 100644 --- a/security/selinux/nlmsgtab.c +++ b/security/selinux/nlmsgtab.c | |||
@@ -67,6 +67,8 @@ static struct nlmsg_perm nlmsg_route_perms[] = | |||
67 | { RTM_GETADDRLABEL, NETLINK_ROUTE_SOCKET__NLMSG_READ }, | 67 | { RTM_GETADDRLABEL, NETLINK_ROUTE_SOCKET__NLMSG_READ }, |
68 | { RTM_GETDCB, NETLINK_ROUTE_SOCKET__NLMSG_READ }, | 68 | { RTM_GETDCB, NETLINK_ROUTE_SOCKET__NLMSG_READ }, |
69 | { RTM_SETDCB, NETLINK_ROUTE_SOCKET__NLMSG_WRITE }, | 69 | { RTM_SETDCB, NETLINK_ROUTE_SOCKET__NLMSG_WRITE }, |
70 | { RTM_NEWNETCONF, NETLINK_ROUTE_SOCKET__NLMSG_WRITE }, | ||
71 | { RTM_GETNETCONF, NETLINK_ROUTE_SOCKET__NLMSG_READ }, | ||
70 | { RTM_GETMDB, NETLINK_ROUTE_SOCKET__NLMSG_READ }, | 72 | { RTM_GETMDB, NETLINK_ROUTE_SOCKET__NLMSG_READ }, |
71 | }; | 73 | }; |
72 | 74 | ||