NAME
selinux_getpolicytype - get the type of SELinux policy running on the systemSYNOPSIS
#include <selinux/selinux.h>DESCRIPTION
selinux_getpolicytype() Reads the contents of the /etc/selinux/config file to determine the SELinux policy used on the system, and sets policytype accordingly. Free policytype with free(3).RETURN VALUE
On success, zero is returned. On failure, -1 is returned.SEE ALSO
selinux(8)24 Sep 2008 | [email protected] |