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.c65 struct selabel_handle *sehandle; variable in typeref:struct:selabel_handle
785 struct selabel_handle* sehandle = NULL; local
786 while ((sehandle == NULL) && seopts_prop[i].value) {
787 sehandle = selabel_open(SELABEL_CTX_ANDROID_PROP, &seopts_prop[i], 1);
791 if (!sehandle) {
797 return sehandle;
802 sehandle = selinux_android_file_context_handle();
818 if (sehandle)
819 selabel_close(sehandle);

Completed in 1142 milliseconds