From: Amerigo Wang Date: Fri, 14 Dec 2012 22:09:50 +0000 (+0000) Subject: bridge: update selinux perm table for RTM_NEWMDB and RTM_DELMDB X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9dd9ff99532d7a7f8222fd1f0d410d91c0f15ac5;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git bridge: update selinux perm table for RTM_NEWMDB and RTM_DELMDB Cc: Herbert Xu Cc: Stephen Hemminger Cc: "David S. Miller" Signed-off-by: Cong Wang Signed-off-by: David S. Miller --- diff --git a/security/selinux/nlmsgtab.c b/security/selinux/nlmsgtab.c index 370a6468b3ba..855e464e92ef 100644 --- a/security/selinux/nlmsgtab.c +++ b/security/selinux/nlmsgtab.c @@ -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 }, };