selinux_getenforcemode(3) - phpMan

Command: man perldoc info search(apropos)  


selinux_getenforcemode(3)           SELinux API documentation           selinux_getenforcemode(3)



NAME
       selinux_getenforcemode - get the enforcing state of SELinux

SYNOPSIS
       #include <selinux/selinux.h>

       int selinux_getenforcemode(int *enforce);

DESCRIPTION
       selinux_getenforcemode()  Reads  the contents of the /etc/selinux/config file to determine
       how the system was setup to run SELinux.

       Sets the value of enforce to 1 if SELinux should be run in enforcing mode.  Sets the value
       of enforce to 0 if SELinux should be run in permissive mode.  Sets the value of enforce to
       -1 if SELinux should be disabled.

RETURN VALUE
       On success, zero is returned.  On failure, -1 is returned.

SEE ALSO
       selinux(8)



dwalsh AT redhat.com                          25 May 2004                  selinux_getenforcemode(3)

Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2024-04-27 05:36 @3.17.186.218 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0!Valid CSS!