Query: selinux_getpolicytype
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
selinux_getpolicytype(3) SELinux API documentation selinux_getpolicytype(3)NAMEselinux_getpolicytype - get the type of SELinux policy running on the systemSYNOPSIS#include <selinux/selinux.h> int selinux_getpolicytype();DESCRIPTIONselinux_getpolicytype Reads the contents of the /etc/selinux/config file to determine the SELinux policy used on the system.RETURN VALUEOn success, zero is returned. On failure, -1 is returned.SEE ALSOselinux(8) dwalsh@redhat.com 24 Sep 2008 selinux_getpolicytype(3)
| Related Man Pages |
|---|
| security_load_booleans(3) - debian |
| security_set_boolean(3) - debian |
| selinux-policy-upgrade(8) - debian |
| security_get_boolean_active(3) - centos |
| security_load_booleans(3) - centos |