security_disable man page on Mageia

Man page or keyword search:  
man Server   17783 pages
apropos Keyword Search (all sections)
Output format
Mageia logo
[printable version]

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 /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
       setenforce(1).

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 (3)

				  21 Nov 2009		   security_disable(3)
[top]

List of man pages available for Mageia

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net