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

NAME

6       selinux_boolean_sub -
7

SYNOPSIS

9       #include <selinux/selinux.h>
10
11       char *selinux_boolean_sub(const char *boolean_name);
12
13

DESCRIPTION

15       selinux_boolean_sub()                    searches                   the
16       /etc/selinux/{POLICYTYPE}/booleans.subs_dist file for a  maching  bool‐
17       ean_name record.  If the record exists the boolean substitution name is
18       returned.   If   not   selinux_boolean_sub()   returns   the   original
19       boolean_name.
20
21

RETURN VALUE

23       selinux_boolean_sub()  returns the boolean_name or the substituted name
24       on  success.   The  returned  value  must  be   freed   with   free(3).
25       selinux_boolean_sub() returns NULL on error.
26

SEE ALSO

28       security_get_boolean_names(3)
29
30
31
32dwalsh@redhat.com                11 June 2012           selinux_boolean_sub(3)
Impressum