/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/updater/ |
updater.h | 32 extern struct selabel_handle *sehandle;
|
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) {
|
install.c | 91 if (sehandle) { 92 selabel_lookup(sehandle, &secontext, mount_point, 0755); 269 int status = make_ext4fs(location, atoll(fs_size), mount_point, sehandle); 410 NULL, NULL, sehandle); [all...] |
/system/core/init/ |
util.c | 111 if (sehandle) { 112 ret = selabel_lookup(sehandle, &secon, addr.sun_path, S_IFSOCK); 479 if (sehandle) { 480 selabel_lookup(sehandle, &secontext, path, mode); 502 if (is_selinux_enabled() <= 0 || !sehandle) 507 if (selabel_lookup(sehandle, &secontext, pathname, sb.st_mode) < 0)
|
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);
|
devices.c | 54 extern struct selabel_handle *sehandle; 152 if (sehandle) { 154 selabel_lookup(sehandle, &secontext, buf, 0); 206 if (sehandle) { 207 selabel_lookup(sehandle, &secontext, path, mode); 896 sehandle = NULL; 898 sehandle = selinux_android_file_context_handle();
|
init.h | 139 extern struct selabel_handle *sehandle;
|
/bootable/recovery/ |
roots.cpp | 34 extern struct selabel_handle *sehandle; 194 int result = make_ext4fs(v->blk_device, v->length, volume, sehandle);
|
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)
|