/bootable/recovery/updater/ |
updater.c | 35 struct selabel_handle *sehandle; variable in typeref:struct:selabel_handle 113 sehandle = selabel_open(SELABEL_CTX_FILE, seopts, 1); 115 if (!sehandle) {
|
/system/core/toolbox/ |
restorecon.c | 12 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) {
|
/bootable/recovery/ |
recovery.cpp | 49 struct selabel_handle *sehandle; variable in typeref:struct:selabel_handle 154 if (strchr("wa", mode[0])) dirCreateHierarchy(path, 0777, NULL, 1, sehandle); [all...] |
/external/libselinux/src/ |
android.c | 606 static struct selabel_handle *sehandle = NULL; variable in typeref:struct:selabel_handle 647 sehandle = file_context_open(); 665 if (!sehandle) 674 if (selabel_lookup(sehandle, &newcontext, pathname, sb.st_mode) < 0)
|
/system/core/init/ |
init.c | 63 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);
|