diff options
author | Paul Moore <paul.moore@hp.com> | 2007-03-01 14:35:22 -0500 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2007-04-26 01:35:56 -0400 |
commit | 4f6a993f96a256e83b9be7612f958c7bc4ca9f00 (patch) | |
tree | 385e5ce4423583b65780d20fce075cd936fe1449 /security/selinux/include | |
parent | 588a31577f86a5cd8b0bcde6026e4e6dcac8c383 (diff) |
SELinux: move security_skb_extlbl_sid() out of the security server
As suggested, move the security_skb_extlbl_sid() function out of the security
server and into the SELinux hooks file.
Signed-off-by: Paul Moore <paul.moore@hp.com>
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 | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/security/selinux/include/security.h b/security/selinux/include/security.h index 605b07165af8..bfe562c36469 100644 --- a/security/selinux/include/security.h +++ b/security/selinux/include/security.h | |||
@@ -34,7 +34,6 @@ | |||
34 | #define POLICYDB_VERSION_MAX POLICYDB_VERSION_RANGETRANS | 34 | #define POLICYDB_VERSION_MAX POLICYDB_VERSION_RANGETRANS |
35 | #endif | 35 | #endif |
36 | 36 | ||
37 | struct sk_buff; | ||
38 | struct netlbl_lsm_secattr; | 37 | struct netlbl_lsm_secattr; |
39 | 38 | ||
40 | extern int selinux_enabled; | 39 | extern int selinux_enabled; |
@@ -83,8 +82,6 @@ int security_netif_sid(char *name, u32 *if_sid, | |||
83 | int security_node_sid(u16 domain, void *addr, u32 addrlen, | 82 | int security_node_sid(u16 domain, void *addr, u32 addrlen, |
84 | u32 *out_sid); | 83 | u32 *out_sid); |
85 | 84 | ||
86 | void security_skb_extlbl_sid(struct sk_buff *skb, u32 base_sid, u32 *sid); | ||
87 | |||
88 | int security_validate_transition(u32 oldsid, u32 newsid, u32 tasksid, | 85 | int security_validate_transition(u32 oldsid, u32 newsid, u32 tasksid, |
89 | u16 tclass); | 86 | u16 tclass); |
90 | 87 | ||