Home
last modified time | relevance | path

Searched refs:destructor_key (Results 1 – 3 of 3) sorted by relevance

/external/selinux/libselinux/src/
Dprocattr.c21 static pthread_key_t destructor_key; variable
63 __selinux_key_delete(destructor_key); in procattr_destructor()
69 __selinux_setspecific(destructor_key, (void *)1); in init_thread_destructor()
76 if (__selinux_key_create(&destructor_key, procattr_thread_destructor) == 0) { in init_procattr()
Dsetrans_client.c38 static pthread_key_t destructor_key; variable
268 __selinux_key_delete(destructor_key); in setrans_lib_destructor()
276 __selinux_setspecific(destructor_key, (void *)1); in init_thread_destructor()
286 if (__selinux_key_create(&destructor_key, setrans_thread_destructor) == 0) in init_context_translations()
Dmatchpathcon.c78 static pthread_key_t destructor_key; variable
328 __selinux_key_delete(destructor_key); in matchpathcon_lib_destructor()
333 if (__selinux_key_create(&destructor_key, matchpathcon_thread_destructor) == 0) in matchpathcon_init_once()
343 __selinux_setspecific(destructor_key, (void *)1); in matchpathcon_init_prefix()