bridge: update selinux perm table for RTM_NEWMDB and RTM_DELMDB
authorAmerigo Wang <amwang@redhat.com>
Fri, 14 Dec 2012 22:09:50 +0000 (22:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Dec 2012 01:14:38 +0000 (17:14 -0800)
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
security/selinux/nlmsgtab.c

index 370a646..855e464 100644 (file)
@@ -69,6 +69,8 @@ static struct nlmsg_perm nlmsg_route_perms[] =
        { RTM_SETDCB,           NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
        { RTM_NEWNETCONF,       NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
        { RTM_GETNETCONF,       NETLINK_ROUTE_SOCKET__NLMSG_READ  },
+       { RTM_NEWMDB,           NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
+       { RTM_DELMDB,           NETLINK_ROUTE_SOCKET__NLMSG_WRITE  },
        { RTM_GETMDB,           NETLINK_ROUTE_SOCKET__NLMSG_READ  },
 };