Skip to content

RFC Updated NetLabel patch

[email protected] netdev selinux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest7 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7NetLabel: documentationCREDITS Documentation/00-INDEX Documentation/netlabel/00-INDEX +4 more+957 -00 replies
2/7NetLabel: core network changesinclude/linux/ip.h include/linux/netlink.h include/linux/security.h +7 more+54 -186 replies
3/7NetLabel: CIPSOv4 engineinclude/net/cipso_ipv4.h net/ipv4/cipso_ipv4.c+1920 -013 replies
4/7NetLabel: core NetLabel subsysteminclude/net/netlabel.h net/Kconfig net/Makefile +9 more+2756 -03 replies
5/7NetLabel: SELinux supportsecurity/selinux/hooks.c security/selinux/include/av_inherit.h security/selinux/include/av_perm_to_string.h +14 more+1109 -130 replies
6/7NetLabel: CIPSOv4 integrationnet/netlabel/netlabel_cipso_v4.c net/netlabel/netlabel_cipso_v4.h+784 -00 replies
7/7NetLabel: unlabeled packet handlingnet/netlabel/netlabel_unlabeled.c net/netlabel/netlabel_unlabeled.h+370 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/7] Updated NetLabel patch

This is an updated version of the NetLabel patch I sent out on May 25th. It contains a variety of fixes and incorporates comments from James Morris, Stephen Smalley, and Steve Grubb. An intermediate version of this patch set has also been tested against Trusted Solaris and HP-UX CMW for CIPSO interoperability. I have tested this patch set on x86 and x86_64 architectures running both the targeted/enforcing and mls/permissive SELinux policies.

Just like before I am sending this patch out in an effort to solicit feedback from developers, any comments you can afford to send would be greatly appreciated. While the patch is still "unfinished" my current todo list is much shorter, the major tasks still remaining are:

* protect against setsockopt() calls
* address the remaining "PM" comments

For those wishing to try the patch for themselves you will need to download and install the NetLabel tools. The tools are used to configure the NetLabel subsystem, documentation (including a man page) is included in the tarball. The NetLabel tools, as well as more information, can be found here:

* http://free.linux.hp.com/~pmoore/projects/linux_cipso

Thanks.

--
paul moore
linux security @ hp