[PATCH][SELINUX] Add Netlink message types for the TC action code.

From: James Morris
Date: Wed Jan 19 2005 - 11:06:42 EST


This patch adds Netlink message types related to the TC action code,
allowing finer grained SELinux control of this.

Please apply.

Author: jamal <hadi@xxxxxxxxxx>
Signed-off-by: James Morris <jmorris@xxxxxxxxxx>
Signed-off-by: Stephen Smalley <sds@xxxxxxxxxxxxxx>

---

security/selinux/nlmsgtab.c | 3 +++
1 files changed, 3 insertions(+)

--- 2610-bk1/security/selinux/nlmsgtab.c 2004/12/28 04:01:14 1.1
+++ 2610-bk1/security/selinux/nlmsgtab.c 2004/12/28 04:05:39
@@ -56,6 +56,9 @@
{ RTM_NEWTFILTER, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
{ RTM_DELTFILTER, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
{ RTM_GETTFILTER, NETLINK_ROUTE_SOCKET__NLMSG_READ },
+ { RTM_NEWACTION, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
+ { RTM_DELACTION, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
+ { RTM_GETACTION, NETLINK_ROUTE_SOCKET__NLMSG_READ },
{ RTM_NEWPREFIX, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
{ RTM_GETPREFIX, NETLINK_ROUTE_SOCKET__NLMSG_READ },
{ RTM_GETMULTICAST, NETLINK_ROUTE_SOCKET__NLMSG_READ },

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/