Searched defs:sehandle (Results 1 - 2 of 2) sorted by relevance

/system/core/toolbox/
H A Drestorecon.c12 static struct selabel_handle *sehandle; variable in typeref:struct:selabel_handle
32 if (selabel_lookup(sehandle, &newcontext, pathname, sb->st_mode) < 0) {
86 sehandle = selinux_android_file_context_handle();
88 if (!sehandle) {
/system/core/init/
H A Dinit.c63 struct selabel_handle *sehandle; variable in typeref:struct:selabel_handle
854 struct selabel_handle* sehandle = NULL; local
855 while ((sehandle == NULL) && seopts_prop[i].value) {
856 sehandle = selabel_open(SELABEL_CTX_ANDROID_PROP, &seopts_prop[i], 1);
860 if (!sehandle) {
866 return sehandle;
871 sehandle = selinux_android_file_context_handle();
927 if (sehandle)
928 selabel_close(sehandle);

Completed in 65 milliseconds