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
853 struct selabel_handle* sehandle = NULL; local
854 while ((sehandle == NULL) && seopts_prop[i].value) {
855 sehandle = selabel_open(SELABEL_CTX_ANDROID_PROP, &seopts_prop[i], 1);
859 if (!sehandle) {
865 return sehandle;
870 sehandle = selinux_android_file_context_handle();
926 if (sehandle)
927 selabel_close(sehandle);

Completed in 59 milliseconds