1selinux_policy_root(3)     SELinux API documentation    selinux_policy_root(3)
2
3
4

NAME

6       selinux_policy_root  -  return the path of the SELinux policy files for
7       this machine.
8

SYNOPSIS

10       #include <selinux/selinux.h>
11
12       char *selinux_policy_root();
13
14
15

DESCRIPTION

17       selinux_policy_root Reads the contents of the /etc/selinux/config  file
18       to determine which policy files should be used for this machine.
19

RETURN VALUE

21       On  success,  returns  a  directory  path containing the SELinux policy
22       files.  On failure, NULL is returned.
23
24

SEE ALSO

26       selinux(8)
27
28
29
30
31
32dwalsh@redhat.com                 25 May 2004           selinux_policy_root(3)
Impressum