diff options
author | James Carter <jwcart2@tycho.nsa.gov> | 2007-04-04 10:11:29 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2007-04-26 01:36:00 -0400 |
commit | f0ee2e467ffa68c3122128b704c1540ee294b748 (patch) | |
tree | 1fb9bf27386233b88406b50ff69b83a2c9cdbe38 /security/selinux/include | |
parent | a764ae4b0781fac75f9657bc737c37ae59888389 (diff) | |
download | kernel_goldelico_gta04-f0ee2e467ffa68c3122128b704c1540ee294b748.zip kernel_goldelico_gta04-f0ee2e467ffa68c3122128b704c1540ee294b748.tar.gz kernel_goldelico_gta04-f0ee2e467ffa68c3122128b704c1540ee294b748.tar.bz2 |
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>
Diffstat (limited to 'security/selinux/include')
-rw-r--r-- | security/selinux/include/security.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/security/selinux/include/security.h b/security/selinux/include/security.h index bfe562c..b94378a 100644 --- a/security/selinux/include/security.h +++ b/security/selinux/include/security.h @@ -123,5 +123,7 @@ static inline int security_netlbl_sid_to_secattr(u32 sid, } #endif /* CONFIG_NETLABEL */ +const char *security_get_initial_sid_context(u32 sid); + #endif /* _SELINUX_SECURITY_H_ */ |