1semanage_bool(3) Libsemanage API documentation semanage_bool(3)
2
3
4
6 SELinux Policy Booleans Management API
7
8
10 #include <semanage/boolean_record.h>
11 #include <semanage/booleans_active.h>
12 #include <semanage/booleans_policy.h>
13 #include <semanage/booleans_local.h>
14
15
16 This object contains properties associated with a SELinux policy bool‐
17 ean
18
19
20 For details on a specific function, see its manual page.
21
22
24 semanage_bool_create(3)-
25 create a boolean
26
27
28 semanage_bool_free(3)-
29 release resources for this boolean
30
31
32 semanage_bool_key_create(3)-
33 create a key, which can be used to identify a boolean
34
35
36 semanage_bool_key_free(3)-
37 release resources for this boolean key
38
39
40 semanage_bool_key_extract(3)-
41 create a key matching this boolean
42
43
44 semanage_bool_clone(3)-
45 create an identical boolean (deep-copy clone)
46
47
48 semanage_bool_compare(3)-
49 compare this boolean to the provided key
50
51
52 semanage_bool_compare2(3)-
53 compare this boolean to another
54
55
56
58 semanage_bool_get_name(3)-
59 return the name of this boolean
60
61
62 semanage_bool_set_name(3)-
63 set the name of this boolean
64
65
66 semanage_bool_get_value(3)-
67 return the value of this boolean
68
69
70 semanage_bool_set_value(3)-
71 set the value of this boolean
72
73
74
76 semanage_bool_modify_local(3)-
77 add or update a boolean in the local store
78
79
80 semanage_bool_set_active(3)-
81 update a boolean in the currently active policy
82
83
84 semanage_bool_del_local(3)-
85 delete a boolean from the local store
86
87
88 semanage_bool_exists(3)-
89 check if a boolean is defined in the persistent policy
90
91
92 semanage_bool_exists_local(3)-
93 check if a boolean is defined in the local store
94
95
96 semanage_bool_exists_active(3)-
97 check if a boolean is defined in the currently active policy
98
99
100 semanage_bool_query(3)-
101 query a boolean in the persistent policy
102
103
104 semanage_bool_query_local(3)-
105 query a boolean in the local store
106
107
108 semanage_bool_query_active(3)-
109 query a boolean in the currently active policy
110
111
112 semanage_bool_count(3)-
113 count the number of booleans defined in the persistent policy
114
115
116 semanage_bool_count_local(3)-
117 count the number of booleans defined in the local store
118
119
120 semanage_bool_count_active(3)-
121 count the number of booleans defined in the currently active
122 policy
123
124
125 semanage_bool_iterate(3)-
126 execute a callback for each boolean in the persistent policy
127
128
129 semanage_bool_iterate_local(3)-
130 execute a callback for each boolean in the local store
131
132
133 semanage_bool_iterate_active(3)-
134 execute a callback for each boolean in the currently active pol‐
135 icy
136
137
138 semanage_bool_list(3)-
139 return an array containing all booleans in the persistent policy
140
141
142 semanage_bool_list_local(3)-
143 return an array containing all booleans in the local store
144
145
146 semanage_bool_list_active(3)-
147 return an array containing all booleans in the currently active
148 policy
149
150
151
152ivg2@cornell.edu 16 March 2006 semanage_bool(3)