[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20101001170750.20327.16643.stgit@jf-dev1-dcblab>
Date: Fri, 01 Oct 2010 10:07:50 -0700
From: John Fastabend <john.r.fastabend@...el.com>
To: jmorris@...ei.com
Cc: john.r.fastabend@...el.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] selinux: add dcbnl netlink messages to selinux
Add DCBNL netlink msg support to selinux. Without this
'unrecognized netlink message' warnings may be seen.
Signed-off-by: John Fastabend <john.r.fastabend@...el.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[] =
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists