Chris PeBenito 473ea7
.TH "selinux_policy_root" "3" "25 May 2004" "dwalsh@redhat.com" "SE Linux API documentation"
Chris PeBenito 473ea7
.SH "NAME"
Chris PeBenito 473ea7
selinux_policy_root \- return the path of the SELinux policy files for this machine.
Chris PeBenito 473ea7
.SH "SYNOPSIS"
Chris PeBenito 473ea7
.B #include <selinux/selinux.h>
Chris PeBenito 473ea7
.sp
Chris PeBenito 473ea7
.B char *selinux_policy_root();
Chris PeBenito 473ea7
.br
Chris PeBenito 473ea7
Chris PeBenito 473ea7
.SH "DESCRIPTION"
Chris PeBenito 473ea7
.B selinux_policy_root
Chris PeBenito 473ea7
Reads the contents of the /etc/selinux/config file to determine which policy files should be used for this machine.
Chris PeBenito 473ea7
.SH "RETURN VALUE"
Chris PeBenito 473ea7
On success, returns a directory path containing the SELinux policy files.
Chris PeBenito 473ea7
On failure, NULL is returned.
Chris PeBenito 473ea7
Chris PeBenito 473ea7