/bootable/recovery/updater/ |
updater.h | 35 extern struct selabel_handle *sehandle;
|
updater.c | 37 struct selabel_handle *sehandle; variable in typeref:struct:selabel_handle 120 sehandle = selabel_open(SELABEL_CTX_FILE, seopts, 1); 122 if (!sehandle) {
|
install.c | 137 if (sehandle) { 138 selabel_lookup(sehandle, &secontext, mount_point, 0755); 336 int status = make_ext4fs(location, atoll(fs_size), mount_point, sehandle); 499 NULL, NULL, sehandle); [all...] |
/frameworks/native/cmds/servicemanager/ |
service_manager.c | 57 static struct selabel_handle* sehandle; variable in typeref:struct:selabel_handle 95 if (!sehandle) { 96 ALOGE("SELinux: Failed to find sehandle. Aborting service_manager.\n"); 100 if (selabel_lookup(sehandle, &tctx, name, 0) != 0) { 283 if (sehandle && selinux_status_updated() > 0) { 286 selabel_close(sehandle); 287 sehandle = tmp_sehandle; 365 sehandle = selinux_android_service_context_handle(); 368 if (sehandle == NULL) { 369 ALOGE("SELinux: Failed to acquire sehandle. Aborting.\n") [all...] |
/system/core/init/ |
util.c | 119 if (sehandle) { 120 ret = selabel_lookup(sehandle, &filecon, addr.sun_path, S_IFSOCK); 511 if (sehandle) { 512 selabel_lookup(sehandle, &secontext, path, mode);
|
devices.c | 58 extern struct selabel_handle *sehandle; 247 if (sehandle) { 248 selabel_lookup_best_match(sehandle, &secontext, path, links, mode); 960 if (sehandle && selinux_status_updated() > 0) { 964 selabel_close(sehandle); 965 sehandle = sehandle2; 1032 sehandle = NULL; 1034 sehandle = selinux_android_file_context_handle();
|
init.h | 141 extern struct selabel_handle *sehandle;
|
init.c | 61 struct selabel_handle *sehandle; variable in typeref:struct:selabel_handle 871 struct selabel_handle* sehandle = selabel_open(SELABEL_CTX_ANDROID_PROP, local 873 if (!sehandle) { 879 return sehandle; 884 sehandle = selinux_android_file_context_handle(); 885 selinux_android_set_sehandle(sehandle); 945 if (sehandle) 946 selabel_close(sehandle); [all...] |
/external/libselinux/src/ |
android.c | 801 static struct selabel_handle *sehandle = NULL; variable in typeref:struct:selabel_handle 865 if (!sehandle) 866 sehandle = file_context_open(); 1134 if (selabel_lookup(sehandle, &secontext, pathname, sb->st_mode) < 0) 1206 if (!sehandle) 1271 if (issys && !selabel_partial_match(sehandle, ftsent->fts_path)) { [all...] |
/external/qemu/distrib/libselinux/src/ |
android.c | 794 static struct selabel_handle *sehandle = NULL; variable in typeref:struct:selabel_handle 858 if (!sehandle) 859 sehandle = file_context_open(); 1108 if (selabel_lookup(sehandle, &secontext, pathname, sb->st_mode) < 0) 1177 if (!sehandle) 1238 if (issys && !selabel_partial_match(sehandle, ftsent->fts_path)) { 1287 sehandle = (struct selabel_handle *) hndl; [all...] |
/bootable/recovery/ |
roots.cpp | 40 extern struct selabel_handle *sehandle; 237 result = make_ext4fs(v->blk_device, length, volume, sehandle);
|
recovery.cpp | 51 struct selabel_handle *sehandle; variable in typeref:struct:selabel_handle 160 if (strchr("wa", mode[0])) dirCreateHierarchy(path, 0777, NULL, 1, sehandle); [all...] |