File: selinux_policy_root.3

package info (click to toggle)
libselinux 2.0.96-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,348 kB
  • ctags: 4,345
  • sloc: ansic: 24,218; python: 2,086; sh: 232; makefile: 219
file content (20 lines) | stat: -rw-r--r-- 589 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.TH "selinux_policy_root" "3" "25 May 2004" "dwalsh@redhat.com" "SELinux API documentation"
.SH "NAME"
selinux_policy_root \- return the path of the SELinux policy files for this machine.
.SH "SYNOPSIS"
.B #include <selinux/selinux.h>
.sp
.B char *selinux_policy_root();


.SH "DESCRIPTION"
.B selinux_policy_root
Reads the contents of the /etc/selinux/config file to determine which policy files should be used for this machine.
.SH "RETURN VALUE"
On success, returns a directory path containing the SELinux policy files.
On failure, NULL is returned.

.SH "SEE ALSO"
.BR selinux "(8)"