selinux_policyroot3
Return the path of the selinux policy files for this machine.
Usage
#include <selinux/selinux.h>
char *selinux_policyroot();
Overview
selinux_policyroot Reads the contents of the /etc/selinux/config file to determine which policy files should be used for this machine.
Return value
On success, returns a directory path containing the SELinux policy files. On failure, NULL is returned.