selinux/nlmsg: add RTM_GETNSID
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Wed, 8 Apr 2015 16:36:39 +0000 (18:36 +0200)
committerDavid 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

index 91228a7308011dba9dbdcf1d0151945522806120..c8cee0766b60b615831c5d9b5ba7957f7c51a61f 100644 (file)
@@ -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  },
 };