diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/selinux/include/security.h | 1 | ||||
-rw-r--r-- | security/selinux/selinuxfs.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/include/security.h b/security/selinux/include/security.h index 8556e1a263c2..30002c43436f 100644 --- a/security/selinux/include/security.h +++ b/security/selinux/include/security.h | |||
@@ -217,6 +217,7 @@ struct selinux_kernel_status { | |||
217 | extern void selinux_status_update_setenforce(int enforcing); | 217 | extern void selinux_status_update_setenforce(int enforcing); |
218 | extern void selinux_status_update_policyload(int seqno); | 218 | extern void selinux_status_update_policyload(int seqno); |
219 | extern void selinux_complete_init(void); | 219 | extern void selinux_complete_init(void); |
220 | extern int selinux_disable(void); | ||
220 | 221 | ||
221 | #endif /* _SELINUX_SECURITY_H_ */ | 222 | #endif /* _SELINUX_SECURITY_H_ */ |
222 | 223 | ||
diff --git a/security/selinux/selinuxfs.c b/security/selinux/selinuxfs.c index 55d92cbb177a..d3677c6c12c6 100644 --- a/security/selinux/selinuxfs.c +++ b/security/selinux/selinuxfs.c | |||
@@ -278,7 +278,6 @@ static ssize_t sel_write_disable(struct file *file, const char __user *buf, | |||
278 | char *page = NULL; | 278 | char *page = NULL; |
279 | ssize_t length; | 279 | ssize_t length; |
280 | int new_value; | 280 | int new_value; |
281 | extern int selinux_disable(void); | ||
282 | 281 | ||
283 | length = -ENOMEM; | 282 | length = -ENOMEM; |
284 | if (count >= PAGE_SIZE) | 283 | if (count >= PAGE_SIZE) |