Query: selinux_getenforcemode
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
selinux_getenforcemode(3) SELinux API documentation selinux_getenforcemode(3)NAMEselinux_getenforcemode - get the enforcing state of SELinuxSYNOPSIS#include <selinux/selinux.h> int selinux_getenforcemode(int *enforce);DESCRIPTIONselinux_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 per- missive mode. Sets the value of enforce to -1 if SELinux should be disabled.RETURN VALUEOn success, zero is returned. On failure, -1 is returned.SEE ALSOselinux(8) dwalsh@redhat.com 25 May 2004 selinux_getenforcemode(3)
Related Man Pages |
---|
selinux-config-enforcing(8) - debian |
selinux(8) - mojave |
selinux(8) - suse |
selinux(8) - ultrix |
selinux(8) - x11r4 |
Similar Topics in the Unix Linux Community |
---|
Adding the individual columns of a matrix. |
Installing Dash Shell on OS X Lion |
Detecting unused variables... |
One instance of comparing grep and awk |
A (ksh) Library For and From UNIX.com |