centos man page for security_disable

Query: security_disable

OS: centos

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

security_disable(3)					     SELinux API documentation					       security_disable(3)

NAME
security_disable - disable the SELinux kernel code at runtime
SYNOPSIS
#include <selinux/selinux.h> int security_disable(void);
DESCRIPTION
security_disable() disables the SELinux kernel code, unregisters selinuxfs from /proc/filesystems, and then unmounts /selinux. This function can only be called at runtime and prior to the initial policy load. After the initial policy load, the SELinux kernel code cannot be disabled, but only placed in "permissive" mode by using security_setenforce(3).
RETURN VALUE
security_disable() returns zero on success or -1 on error.
AUTHOR
This manual page has been written by Guido Trentalancia <guido@trentalancia.com>
SEE ALSO
selinux(8), setenforce (8) 21 Nov 2009 security_disable(3)
Related Man Pages
security_get_boolean_pending(3) - debian
security_set_boolean(3) - debian
security_mkload_policy(3) - debian
selinux-policy-upgrade(8) - debian
security_load_policy(3) - centos
Similar Topics in the Unix Linux Community
Need to disable CBC mode cipher encryption along with MD5 &amp; 96 bit MAC algorithm