Home
last modified time | relevance | path

Searched refs:sehandle (Results 1 – 2 of 2) sorted by relevance

/external/selinux/libselinux/src/android/
Dandroid.c127 struct selabel_handle* sehandle; in initialize_backend() local
129 sehandle = selabel_open(backend, opts, nopts); in initialize_backend()
131 if (!sehandle) { in initialize_backend()
141 return sehandle; in initialize_backend()
/external/selinux/libselinux/src/
Dselinux_restorecon.c94 struct selabel_handle *sehandle = NULL; in restorecon_init() local
97 sehandle = selinux_restorecon_default_handle(); in restorecon_init()
98 selinux_restorecon_set_sehandle(sehandle); in restorecon_init()
1388 struct selabel_handle *sehandle; in selinux_restorecon_default_handle() local
1394 sehandle = selabel_open(SELABEL_CTX_FILE, fc_opts, 1); in selinux_restorecon_default_handle()
1396 if (!sehandle) { in selinux_restorecon_default_handle()
1403 return sehandle; in selinux_restorecon_default_handle()