* [PATCH] selinux: add dcbnl netlink messages to selinux
@ 2010-10-01 17:07 John Fastabend
0 siblings, 0 replies; only message in thread
From: John Fastabend @ 2010-10-01 17:07 UTC (permalink / raw)
To: jmorris; +Cc: john.r.fastabend, netdev, linux-kernel
Add DCBNL netlink msg support to selinux. Without this
'unrecognized netlink message' warnings may be seen.
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
---
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 75ec0c6..8b02b21 100644
--- a/security/selinux/nlmsgtab.c
+++ b/security/selinux/nlmsgtab.c
@@ -65,6 +65,8 @@ static struct nlmsg_perm nlmsg_route_perms[] =
{ RTM_NEWADDRLABEL, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
{ RTM_DELADDRLABEL, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
{ RTM_GETADDRLABEL, NETLINK_ROUTE_SOCKET__NLMSG_READ },
+ { RTM_GETDCB, NETLINK_ROUTE_SOCKET__NLMSG_READ },
+ { RTM_SETDCB, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
};
static struct nlmsg_perm nlmsg_firewall_perms[] =
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-10-01 17:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-01 17:07 [PATCH] selinux: add dcbnl netlink messages to selinux John Fastabend
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).