Selinux management api
Set the alternate root directory for SELinux configuration directory.
#include <semanage/handle.h>
extern const char *semanage_set_root(const char *path);
This function sets an alternate root directory to for SELinux configuration paths to be used by the semanage library.
In case of failure, -1 is returned. Otherwise 0 is returned.
semanage_handle_create(3), semanage_connect(3),