Home
last modified time | relevance | path

Searched refs:SH_CONNECT (Results 1 – 11 of 11) sorted by relevance

/external/selinux/libsemanage/tests/
Dtest_user.c199 setup_handle(SH_CONNECT); in test_user_compare()
214 cleanup_handle(SH_CONNECT); in test_user_compare()
226 setup_handle(SH_CONNECT); in test_user_compare2()
241 cleanup_handle(SH_CONNECT); in test_user_compare2()
250 setup_handle(SH_CONNECT); in test_user_key_create()
258 cleanup_handle(SH_CONNECT); in test_user_key_create()
268 setup_handle(SH_CONNECT); in test_user_key_extract()
278 cleanup_handle(SH_CONNECT); in test_user_key_extract()
287 setup_handle(SH_CONNECT); in test_user_get_set_name()
296 cleanup_handle(SH_CONNECT); in test_user_get_set_name()
[all …]
Dtest_handle.c114 setup_handle(SH_CONNECT); in test_disconnect()
123 setup_handle(SH_CONNECT); in test_transaction()
130 setup_handle(SH_CONNECT); in test_transaction()
134 cleanup_handle(SH_CONNECT); in test_transaction()
141 setup_handle(SH_CONNECT); in test_commit()
148 cleanup_handle(SH_CONNECT); in test_commit()
187 setup_handle(SH_CONNECT); in test_access_check()
191 cleanup_handle(SH_CONNECT); in test_access_check()
209 cleanup_handle(SH_CONNECT); in test_is_managed()
229 setup_handle(SH_CONNECT); in test_mls_enabled()
[all …]
Dtest_node.c215 setup_handle(SH_CONNECT); in test_node_compare()
232 cleanup_handle(SH_CONNECT); in test_node_compare()
244 setup_handle(SH_CONNECT); in test_node_compare2()
259 cleanup_handle(SH_CONNECT); in test_node_compare2()
268 setup_handle(SH_CONNECT); in test_node_key_create()
277 cleanup_handle(SH_CONNECT); in test_node_key_create()
287 setup_handle(SH_CONNECT); in test_node_key_extract()
297 cleanup_handle(SH_CONNECT); in test_node_key_extract()
307 setup_handle(SH_CONNECT); in test_node_get_set_addr()
321 cleanup_handle(SH_CONNECT); in test_node_get_set_addr()
[all …]
Dtest_fcontext.c266 setup_handle(SH_CONNECT); in test_fcontext_compare()
284 cleanup_handle(SH_CONNECT); in test_fcontext_compare()
296 setup_handle(SH_CONNECT); in test_fcontext_compare2()
313 cleanup_handle(SH_CONNECT); in test_fcontext_compare2()
322 setup_handle(SH_CONNECT); in test_fcontext_key_create()
340 cleanup_handle(SH_CONNECT); in test_fcontext_key_create()
350 setup_handle(SH_CONNECT); in test_fcontext_key_extract()
360 cleanup_handle(SH_CONNECT); in test_fcontext_key_extract()
371 setup_handle(SH_CONNECT); in test_fcontext_get_set_expr()
383 cleanup_handle(SH_CONNECT); in test_fcontext_get_set_expr()
[all …]
Dtest_bool.c247 helper_bool_key_create(SH_CONNECT); in test_bool_key_create()
300 helper_bool_key_extract(SH_CONNECT, SK_INDEX); in test_bool_key_extract()
335 helper_bool_compare(SH_CONNECT, I_FIRST, I_FIRST); in test_bool_compare()
336 helper_bool_compare(SH_CONNECT, I_FIRST, I_SECOND); in test_bool_compare()
337 helper_bool_compare(SH_CONNECT, I_SECOND, I_FIRST); in test_bool_compare()
338 helper_bool_compare(SH_CONNECT, I_SECOND, I_SECOND); in test_bool_compare()
373 helper_bool_compare2(SH_CONNECT, I_FIRST, I_FIRST); in test_bool_compare2()
374 helper_bool_compare2(SH_CONNECT, I_FIRST, I_SECOND); in test_bool_compare2()
375 helper_bool_compare2(SH_CONNECT, I_SECOND, I_FIRST); in test_bool_compare2()
376 helper_bool_compare2(SH_CONNECT, I_SECOND, I_SECOND); in test_bool_compare2()
[all …]
Dtest_iface.c204 setup_handle(SH_CONNECT); in test_iface_compare()
220 cleanup_handle(SH_CONNECT); in test_iface_compare()
232 setup_handle(SH_CONNECT); in test_iface_compare2()
247 cleanup_handle(SH_CONNECT); in test_iface_compare2()
256 setup_handle(SH_CONNECT); in test_iface_key_create()
264 cleanup_handle(SH_CONNECT); in test_iface_key_create()
274 setup_handle(SH_CONNECT); in test_iface_key_extract()
284 cleanup_handle(SH_CONNECT); in test_iface_key_extract()
293 setup_handle(SH_CONNECT); in test_iface_get_set_name()
302 cleanup_handle(SH_CONNECT); in test_iface_get_set_name()
[all …]
Dtest_port.c216 setup_handle(SH_CONNECT); in helper_port_compare()
232 cleanup_handle(SH_CONNECT); in helper_port_compare()
251 setup_handle(SH_CONNECT); in helper_port_compare2()
268 cleanup_handle(SH_CONNECT); in helper_port_compare2()
285 setup_handle(SH_CONNECT); in test_port_key_create()
293 cleanup_handle(SH_CONNECT); in test_port_key_create()
303 setup_handle(SH_CONNECT); in test_port_key_extract()
313 cleanup_handle(SH_CONNECT); in test_port_key_extract()
322 setup_handle(SH_CONNECT); in helper_port_get_set_proto()
333 cleanup_handle(SH_CONNECT); in helper_port_get_set_proto()
[all …]
Dtest_ibendport.c181 setup_handle(SH_CONNECT); in test_ibendport_query()
212 cleanup_handle(SH_CONNECT); in test_ibendport_query()
223 setup_handle(SH_CONNECT); in test_ibendport_exists()
237 cleanup_handle(SH_CONNECT); in test_ibendport_exists()
246 setup_handle(SH_CONNECT); in test_ibendport_count()
253 cleanup_handle(SH_CONNECT); in test_ibendport_count()
286 setup_handle(SH_CONNECT); in test_ibendport_iterate()
307 cleanup_handle(SH_CONNECT); in test_ibendport_iterate()
319 setup_handle(SH_CONNECT); in test_ibendport_list()
342 cleanup_handle(SH_CONNECT); in test_ibendport_list()
Dutilities.c248 if (level >= SH_CONNECT) in setup_handle()
259 if (level >= SH_CONNECT) in cleanup_handle()
276 if (level >= SH_CONNECT) in setup_handle_invalid_store()
Dtest_other.c65 setup_handle(SH_CONNECT); in test_semanage_context()
104 cleanup_handle(SH_CONNECT); in test_semanage_context()
Dutilities.h77 typedef enum { SH_NULL, SH_HANDLE, SH_CONNECT, SH_TRANS } level_t; enumerator