Home
last modified time | relevance | path

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

/external/selinux/libsemanage/tests/
Dtest_user.c190 setup_handle(SH_CONNECT); in test_user_compare()
205 cleanup_handle(SH_CONNECT); in test_user_compare()
217 setup_handle(SH_CONNECT); in test_user_compare2()
232 cleanup_handle(SH_CONNECT); in test_user_compare2()
241 setup_handle(SH_CONNECT); in test_user_key_create()
249 cleanup_handle(SH_CONNECT); in test_user_key_create()
259 setup_handle(SH_CONNECT); in test_user_key_extract()
269 cleanup_handle(SH_CONNECT); in test_user_key_extract()
278 setup_handle(SH_CONNECT); in test_user_get_set_name()
287 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_bool.c238 helper_bool_key_create(SH_CONNECT); in test_bool_key_create()
291 helper_bool_key_extract(SH_CONNECT, SK_INDEX); in test_bool_key_extract()
326 helper_bool_compare(SH_CONNECT, I_FIRST, I_FIRST); in test_bool_compare()
327 helper_bool_compare(SH_CONNECT, I_FIRST, I_SECOND); in test_bool_compare()
328 helper_bool_compare(SH_CONNECT, I_SECOND, I_FIRST); in test_bool_compare()
329 helper_bool_compare(SH_CONNECT, I_SECOND, I_SECOND); in test_bool_compare()
364 helper_bool_compare2(SH_CONNECT, I_FIRST, I_FIRST); in test_bool_compare2()
365 helper_bool_compare2(SH_CONNECT, I_FIRST, I_SECOND); in test_bool_compare2()
366 helper_bool_compare2(SH_CONNECT, I_SECOND, I_FIRST); in test_bool_compare2()
367 helper_bool_compare2(SH_CONNECT, I_SECOND, I_SECOND); in test_bool_compare2()
[all …]
Dtest_node.c204 setup_handle(SH_CONNECT); in test_node_compare()
221 cleanup_handle(SH_CONNECT); in test_node_compare()
233 setup_handle(SH_CONNECT); in test_node_compare2()
248 cleanup_handle(SH_CONNECT); in test_node_compare2()
257 setup_handle(SH_CONNECT); in test_node_key_create()
266 cleanup_handle(SH_CONNECT); in test_node_key_create()
276 setup_handle(SH_CONNECT); in test_node_key_extract()
286 cleanup_handle(SH_CONNECT); in test_node_key_extract()
296 setup_handle(SH_CONNECT); in test_node_get_set_addr()
309 cleanup_handle(SH_CONNECT); in test_node_get_set_addr()
[all …]
Dtest_fcontext.c287 setup_handle(SH_CONNECT); in test_fcontext_compare()
305 cleanup_handle(SH_CONNECT); in test_fcontext_compare()
317 setup_handle(SH_CONNECT); in test_fcontext_compare2()
334 cleanup_handle(SH_CONNECT); in test_fcontext_compare2()
343 setup_handle(SH_CONNECT); in test_fcontext_key_create()
361 cleanup_handle(SH_CONNECT); in test_fcontext_key_create()
371 setup_handle(SH_CONNECT); in test_fcontext_key_extract()
381 cleanup_handle(SH_CONNECT); in test_fcontext_key_extract()
392 setup_handle(SH_CONNECT); in test_fcontext_get_set_expr()
404 cleanup_handle(SH_CONNECT); in test_fcontext_get_set_expr()
[all …]
Dtest_iface.c192 setup_handle(SH_CONNECT); in test_iface_compare()
208 cleanup_handle(SH_CONNECT); in test_iface_compare()
220 setup_handle(SH_CONNECT); in test_iface_compare2()
235 cleanup_handle(SH_CONNECT); in test_iface_compare2()
244 setup_handle(SH_CONNECT); in test_iface_key_create()
252 cleanup_handle(SH_CONNECT); in test_iface_key_create()
262 setup_handle(SH_CONNECT); in test_iface_key_extract()
272 cleanup_handle(SH_CONNECT); in test_iface_key_extract()
281 setup_handle(SH_CONNECT); in test_iface_get_set_name()
290 cleanup_handle(SH_CONNECT); in test_iface_get_set_name()
[all …]
Dtest_port.c205 setup_handle(SH_CONNECT); in helper_port_compare()
221 cleanup_handle(SH_CONNECT); in helper_port_compare()
240 setup_handle(SH_CONNECT); in helper_port_compare2()
257 cleanup_handle(SH_CONNECT); in helper_port_compare2()
274 setup_handle(SH_CONNECT); in test_port_key_create()
282 cleanup_handle(SH_CONNECT); in test_port_key_create()
292 setup_handle(SH_CONNECT); in test_port_key_extract()
302 cleanup_handle(SH_CONNECT); in test_port_key_extract()
311 setup_handle(SH_CONNECT); in helper_port_get_set_proto()
322 cleanup_handle(SH_CONNECT); in helper_port_get_set_proto()
[all …]
Dtest_ibendport.c172 setup_handle(SH_CONNECT); in test_ibendport_query()
201 cleanup_handle(SH_CONNECT); in test_ibendport_query()
212 setup_handle(SH_CONNECT); in test_ibendport_exists()
226 cleanup_handle(SH_CONNECT); in test_ibendport_exists()
235 setup_handle(SH_CONNECT); in test_ibendport_count()
242 cleanup_handle(SH_CONNECT); in test_ibendport_count()
275 setup_handle(SH_CONNECT); in test_ibendport_iterate()
296 cleanup_handle(SH_CONNECT); in test_ibendport_iterate()
308 setup_handle(SH_CONNECT); in test_ibendport_list()
331 cleanup_handle(SH_CONNECT); in test_ibendport_list()
Dutilities.c245 if (level >= SH_CONNECT) in setup_handle()
256 if (level >= SH_CONNECT) in cleanup_handle()
273 if (level >= SH_CONNECT) in setup_handle_invalid_store()
Dtest_other.c65 setup_handle(SH_CONNECT); in test_semanage_context()
100 cleanup_handle(SH_CONNECT); in test_semanage_context()
Dutilities.h75 typedef enum { SH_NULL, SH_HANDLE, SH_CONNECT, SH_TRANS } level_t; enumerator