diff options
author | James Morris <jmorris@namei.org> | 2011-08-30 14:18:06 +1000 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2012-01-05 18:52:51 -0500 |
commit | 02f5daa563456c1ff3c3422aa3ec00e67460f762 (patch) | |
tree | b2394602c587815aae9f1b07ac272302800d9288 /security/selinux/include/security.h | |
parent | e8a65a3f67f8a85802c0a0250e48c4c4652d0da0 (diff) | |
download | lwn-02f5daa563456c1ff3c3422aa3ec00e67460f762.tar.gz lwn-02f5daa563456c1ff3c3422aa3ec00e67460f762.zip |
selinux: sparse fix: fix warnings in netlink code
Fix sparse warnings in SELinux Netlink code.
Signed-off-by: James Morris <jmorris@namei.org>
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'security/selinux/include/security.h')
-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); extern void exit_sel_fs(void); extern struct dentry *selinux_null; extern struct vfsmount *selinuxfs_mount; +extern void selnl_notify_setenforce(int val); +extern void selnl_notify_policyload(u32 seqno); +extern int selinux_nlmsg_lookup(u16 sclass, u16 nlmsg_type, u32 *perm); #endif /* _SELINUX_SECURITY_H_ */ |