about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedselinux_private.h
blob: 661e5c97d3f3daceba87eb3673369912e92e8d9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA))
#error Meh....
#endif

//GO(avc_add_callback, 
//GO(avc_audit, 
//GO(avc_av_stats, 
//GO(avc_cache_stats, 
//GO(avc_cleanup, 
//GO(avc_compute_create, 
//GO(avc_compute_member, 
//GO(avc_context_to_sid, 
//GO(avc_context_to_sid_raw, 
//GO(avc_destroy, 
//GO(avc_get_initial_sid, 
//GO(avc_has_perm, 
//GO(avc_has_perm_noaudit, 
//GO(avc_init, 
//GO(avc_netlink_acquire_fd, 
//GO(avc_netlink_check_nb, 
//GO(avc_netlink_close, 
//GO(avc_netlink_loop, 
//GO(avc_netlink_open, 
//GO(avc_netlink_release_fd, 
//GO(avc_open, 
//GO(avc_reset, 
//GO(avc_sid_stats, 
//GO(avc_sid_to_context, 
//GO(avc_sid_to_context_raw, 
//GO(checkPasswdAccess, 
//GO(context_free, 
//GO(context_new, 
//GO(context_range_get, 
//GO(context_range_set, 
//GO(context_role_get, 
//GO(context_role_set, 
//GO(context_str, 
//GO(context_type_get, 
//GO(context_type_set, 
//GO(context_user_get, 
//GO(context_user_set, 
//DATAB(dir_xattr_list, 
//GO(fgetfilecon, 
GO(fgetfilecon_raw, iFip)
//GO(fini_selinuxmnt, 
GO(freecon, vFp)
GO(freeconary, vFp)
//GO(fsetfilecon, 
GO(fsetfilecon_raw, iFip)
//GO(getcon, 
//GO(getcon_raw, 
//GO(get_default_context, 
//GO(get_default_context_with_level, 
//GO(get_default_context_with_role, 
//GO(get_default_context_with_rolelevel, 
//GO(get_default_type, 
//GO(getexeccon, 
//GO(getexeccon_raw, 
//GO(getfilecon, 
GO(getfilecon_raw, iFpp)
//GO(getfscreatecon, 
//GO(getfscreatecon_raw, 
//GO(getkeycreatecon, 
//GO(getkeycreatecon_raw, 
//GO(get_ordered_context_list, 
//GO(get_ordered_context_list_with_level, 
//GO(getpeercon, 
//GO(getpeercon_raw, 
//GO(getpidcon, 
//GO(getpidcon_raw, 
//GO(getprevcon, 
//GO(getprevcon_raw, 
//GO(getseuser, 
//GO(getseuserbyname, 
//GO(getsockcreatecon, 
//GO(getsockcreatecon_raw, 
//GO(is_context_customizable, 
GO(is_selinux_enabled, iFv)
//GO(is_selinux_mls_enabled, 
GO(lgetfilecon, iFpp)
GO(lgetfilecon_raw, iFpp)
GO(lsetfilecon, iFpp)
GO(lsetfilecon_raw, iFpp)
//GO(manual_user_enter_context, 
//GO(map_class, 
//GO(map_decision, 
//GO(map_perm, 
//GO(matchmediacon, 
//GO(matchpathcon, 
//GO(matchpathcon_checkmatches, 
//GO(matchpathcon_filespec_add, 
//GO(matchpathcon_filespec_destroy, 
//GO(matchpathcon_filespec_eval, 
//GO(matchpathcon_fini, 
//GO(matchpathcon_index, 
//GO(matchpathcon_init, 
//GO(matchpathcon_init_prefix, 
//GO(mode_to_security_class, 
//DATAB(myprintf_compat, 
//GO(print_access_vector, 
//GO(query_user_context, 
//GO(realpath_not_final, 
//GO(rpm_execcon, 
//GO(security_av_perm_to_string, 
//GO(security_av_string, 
//GO(security_canonicalize_context, 
//GO(security_canonicalize_context_raw, 
//GO(security_check_context, 
//GO(security_check_context_raw, 
//GO(security_class_to_string, 
//GO(security_commit_booleans, 
//GO(security_compute_av, 
//GO(security_compute_av_flags, 
//GO(security_compute_av_flags_raw, 
//GO(security_compute_av_raw, 
//GO(security_compute_create, 
//GO(security_compute_create_name, 
//GO(security_compute_create_name_raw, 
//GO(security_compute_create_raw, 
//GO(security_compute_member, 
//GO(security_compute_member_raw, 
//GO(security_compute_relabel, 
//GO(security_compute_relabel_raw, 
//GO(security_compute_user, 
//GO(security_compute_user_raw, 
//GO(security_deny_unknown, 
//GO(security_disable, 
//GO(security_get_boolean_active, 
//GO(security_get_boolean_names, 
//GO(security_get_boolean_pending, 
//GO(security_get_checkreqprot, 
//GO(security_getenforce, 
//GO(security_get_initial_context, 
//GO(security_get_initial_context_raw, 
//GO(security_load_booleans, 
//GO(security_load_policy, 
//GO(security_policyvers, 
//GO(security_reject_unknown, 
//GO(security_set_boolean, 
//GO(security_set_boolean_list, 
//GO(security_setenforce, 
//GO(security_validatetrans, 
//GO(security_validatetrans_raw, 
//GO(selabel_close, 
//GO(selabel_cmp, 
//GO(selabel_digest, 
//GO(selabel_get_digests_all_partial_matches, 
//GO(selabel_hash_all_partial_matches, 
//GO(selabel_lookup, 
//GO(selabel_lookup_best_match, 
//GO(selabel_lookup_best_match_raw, 
//GO(selabel_lookup_raw, 
//GO(selabel_open, 
//GO(selabel_partial_match, 
//GO(selabel_stats, 
//GO(selinux_binary_policy_path, 
//GO(selinux_booleans_path, 
//GO(selinux_booleans_subs_path, 
//GO(selinux_boolean_sub, 
//GO(selinux_check_access, 
//GO(selinux_check_passwd_access, 
//GO(selinux_check_securetty_context, 
//GO(selinux_colors_path, 
//GO(selinux_contexts_path, 
//GO(selinux_current_policy_path, 
//GO(selinux_customizable_types_path, 
//GO(selinux_default_context_path, 
//GO(selinux_default_type_path, 
//GO(selinux_failsafe_context_path, 
//GO(selinux_file_context_cmp, 
//GO(selinux_file_context_homedir_path, 
//GO(selinux_file_context_local_path, 
//GO(selinux_file_context_path, 
//GO(selinux_file_context_subs_dist_path, 
//GO(selinux_file_context_subs_path, 
//GO(selinux_file_context_verify, 
//GO(selinuxfs_exists, 
//GO(selinux_get_callback, 
//GO(selinux_getenforcemode, 
//GO(selinux_getpolicytype, 
//GO(selinux_homedir_context_path, 
//GO(selinux_init_load_policy, 
//GO(selinux_lsetfilecon_default, 
//GO(selinux_lxc_contexts_path, 
//GO(selinux_media_context_path, 
//GO(selinux_mkload_policy, 
//DATAB(selinux_mnt, 
//GO(selinux_netfilter_context_path, 
//GO(selinux_openrc_contexts_path, 
//GO(selinux_openssh_contexts_path, 
//GO(selinux_path, 
//GO(selinux_policy_root, 
//GO(selinux_raw_context_to_color, 
//GO(selinux_raw_to_trans_context, 
//GO(selinux_removable_context_path, 
//GO(selinux_reset_config, 
//GO(selinux_restorecon, 
//GO(selinux_restorecon_default_handle, 
//GO(selinux_restorecon_set_alt_rootpath, 
//GO(selinux_restorecon_set_exclude_list, 
//GO(selinux_restorecon_set_sehandle, 
//GO(selinux_restorecon_xattr, 
//GO(selinux_securetty_types_path, 
//GO(selinux_sepgsql_context_path, 
//GO(selinux_set_callback, 
//GO(selinux_set_mapping, 
//GO(selinux_set_policy_root, 
//GO(selinux_snapperd_contexts_path, 
//GO(selinux_status_close, 
//GO(selinux_status_deny_unknown, 
//GO(selinux_status_getenforce, 
//GO(selinux_status_open, 
//GO(selinux_status_policyload, 
//GO(selinux_status_updated, 
//GO(selinux_systemd_contexts_path, 
//GO(selinux_translations_path, 
GO(selinux_trans_to_raw_context, iFpp)
//GO(selinux_user_contexts_path, 
//GO(selinux_usersconf_path, 
//GO(selinux_users_path, 
//GO(selinux_virtual_domain_context_path, 
//GO(selinux_virtual_image_context_path, 
//GO(selinux_x_context_path, 
//GO(setcon, 
//GO(setcon_raw, 
//GO(setexeccon, 
//GO(setexeccon_raw, 
//GO(setexecfilecon, 
//GO(setfilecon, 
GO(setfilecon_raw, iFpp)
//GO(setfscreatecon, 
//GO(setfscreatecon_raw, 
//GO(setkeycreatecon, 
//GO(setkeycreatecon_raw, 
//GO(set_matchpathcon_canoncon, 
//GO(set_matchpathcon_flags, 
//GO(set_matchpathcon_invalidcon, 
//GO(set_matchpathcon_printf, 
//GO(set_selinuxmnt, 
//GO(setsockcreatecon, 
//GO(setsockcreatecon_raw, 
//GO(sidget, 
//GO(sidput, 
//GO(string_to_av_perm, 
//GO(string_to_security_class, 
//GO(unmap_class, 
//GO(unmap_perm,