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

NAME

6       selinux_boolean_sub  -  Search  the  translated name for a boolean_name
7       record
8

SYNOPSIS

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

DESCRIPTION

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

RETURN VALUE

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

SEE ALSO

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