Man Page: selinux_getpolicytype
Operating Environment: centos
Section: 3
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(char **policytype);DESCRIPTIONselinux_getpolicytype() Reads the contents of the /etc/selinux/config file to determine the SELinux policy used on the system, and sets policytype accordinly.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 |
| selinux_config(5) - debian |
| selinux-policy-upgrade(8) - debian |
| security_get_boolean_names(3) - centos |
| security_get_boolean_pending(3) - centos |
| Similar Topics in the Unix Linux Community |
|---|
| Tar Command |
| Docker learning Phase-I |
| Unsure why access time on a directory change isn't changing |
| CentOS 6 ran out of space, need to reclaim it |
| [TIP] Processing YAML files with yq |