Query: semanage_set_root
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
semanage_set_root(3) Libsemanage API documentation semanage_set_root(3)NAMEsemanage_set_root - SELinux Management APISYNOPSISSet the alternate root directory for SELinux configuration directory. #include <semanage/handle.h> extern const char *semanage_set_root(const char *path);DESCRIPTIONThis function sets an alternate root directory to for SELinux configuration paths to be used by the semanage library.RETURN VALUEIn case of failure, -1 is returned. Otherwise 0 is returned.SEE ALSOsemanage_handle_create(3), semanage_connect(3), dwalsh@redhat.com 1 June 2011 semanage_set_root(3)