Debian Codegraph @

libsemanage/man/man3/semanage_bool.3

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