diff options
author | James Morris <jmorris@namei.org> | 2011-08-29 22:09:15 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2011-09-09 19:56:31 -0400 |
commit | 6a3fbe81179c85eb53054a0f4c8423ffec0276a7 (patch) | |
tree | b281fee66a005236bbdedf5f22eeacc37669ba4a /security/selinux/include | |
parent | ad3fa08c4ff84ed87649d72e8497735c85561a3d (diff) |
selinux: sparse fix: fix warnings in netlink code
Fix sparse warnings in SELinux Netlink code.
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, 3 insertions, 0 deletions
diff --git a/security/selinux/include/security.h b/security/selinux/include/security.h index 13b626352f0b..d871e8ad2103 100644 --- a/security/selinux/include/security.h +++ b/security/selinux/include/security.h | |||
@@ -221,6 +221,9 @@ extern int selinux_disable(void); | |||
221 | extern void exit_sel_fs(void); | 221 | extern void exit_sel_fs(void); |
222 | extern struct dentry *selinux_null; | 222 | extern struct dentry *selinux_null; |
223 | extern struct vfsmount *selinuxfs_mount; | 223 | extern struct vfsmount *selinuxfs_mount; |
224 | extern void selnl_notify_setenforce(int val); | ||
225 | extern void selnl_notify_policyload(u32 seqno); | ||
226 | extern int selinux_nlmsg_lookup(u16 sclass, u16 nlmsg_type, u32 *perm); | ||
224 | 227 | ||
225 | #endif /* _SELINUX_SECURITY_H_ */ | 228 | #endif /* _SELINUX_SECURITY_H_ */ |
226 | 229 | ||