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

NAME

6       selinux_getpolicytype  -  get the type of SELinux policy running on the
7       system
8

SYNOPSIS

10       #include <selinux/selinux.h>
11
12       int selinux_getpolicytype();
13
14
15

DESCRIPTION

17       selinux_getpolicytype Reads the  contents  of  the  /etc/selinux/config
18       file to determine the SELinux policy used on the system.
19
20

RETURN VALUE

22       On success, zero is returned.  On failure, -1 is returned.
23
24

SEE ALSO

26       selinux(8)
27
28
29
30
31
32dwalsh@redhat.com                 24 Sep 2008         selinux_getpolicytype(3)
Impressum