]> err.no Git - linux-2.6/commit
selinux: export initial SID contexts via selinuxfs
authorJames Carter <jwcart2@tycho.nsa.gov>
Wed, 4 Apr 2007 14:11:29 +0000 (10:11 -0400)
committerJames Morris <jmorris@namei.org>
Thu, 26 Apr 2007 05:36:00 +0000 (01:36 -0400)
commitf0ee2e467ffa68c3122128b704c1540ee294b748
tree1fb9bf27386233b88406b50ff69b83a2c9cdbe38
parenta764ae4b0781fac75f9657bc737c37ae59888389
selinux: export initial SID contexts via selinuxfs

Make the initial SID contexts accessible to userspace via selinuxfs.
An initial use of this support will be to make the unlabeled context
available to libselinux for use for invalidated userspace SIDs.

Signed-off-by: James Carter <jwcart2@tycho.nsa.gov>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/include/security.h
security/selinux/selinuxfs.c
security/selinux/ss/services.c