From: Nicolas Dichtel Date: Wed, 8 Apr 2015 16:36:39 +0000 (+0200) Subject: selinux/nlmsg: add RTM_GETNSID X-Git-Tag: v4.1-rc1~128^2~47^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=387f989a60db00207c39b9fe9ef32c897356aaba;p=platform%2Fkernel%2Flinux-exynos.git selinux/nlmsg: add RTM_GETNSID This new command is missing. Fixes: 9a9634545c70 ("netns: notify netns id events") Signed-off-by: Nicolas Dichtel Signed-off-by: David S. Miller --- diff --git a/security/selinux/nlmsgtab.c b/security/selinux/nlmsgtab.c index 91228a7..c8cee07 100644 --- 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 }, };