OpenSuSE Man Pages

Man Page or Keyword Search:
Man Architecture
Apropos Keyword Search (all sections) Output format
home | help
x SuSE Linux 13.1-RELEASE x
x SuSE Linux 13.1-RELEASEx
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 selin-
       uxfs from /proc/filesystems, and then unmounts /sys/fs/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 secu-
       rity_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@trenta-
       lancia.com>

SEE ALSO
       selinux(8), setenforce (8)

                                  21 Nov 2009              security_disable(3)

Want to link to this manual page? Use this URL:
<
http://star2.abcm.com/cgi-bin/bsdi-man?query=security_disable&sektion=3&manpath=>

home | help