/system/core/fs_mgr/ |
fs_mgr_format.cpp | 58 struct selabel_handle *sehandle = selinux_android_file_context_handle(); local 59 if (!sehandle) { 74 rc = make_ext4fs_internal(fd, NULL, NULL, fs_mnt_point, 0, 0, 0, 0, 0, 0, sehandle, 0, 0, NULL, NULL, NULL); 80 if (sehandle) { 81 selabel_close(sehandle);
|
/bootable/recovery/updater/ |
updater.cpp | 51 struct selabel_handle *sehandle; variable in typeref:struct:selabel_handle 143 sehandle = selinux_android_file_context_handle(); 144 selinux_android_set_sehandle(sehandle); 146 if (!sehandle) {
|
/system/vold/ |
main.cpp | 23 #include "sehandle.h" 48 struct selabel_handle *sehandle; variable in typeref:struct:selabel_handle 70 sehandle = selinux_android_file_context_handle(); 71 if (sehandle) { 72 selinux_android_set_sehandle(sehandle);
|
/bootable/recovery/tests/component/ |
updater_test.cpp | 46 struct selabel_handle *sehandle = nullptr; variable in typeref:struct:selabel_handle
|
/frameworks/native/cmds/servicemanager/ |
service_manager.c | 63 static struct selabel_handle* sehandle; variable in typeref:struct:selabel_handle 98 if (!sehandle) { 99 ALOGE("SELinux: Failed to find sehandle. Aborting service_manager.\n"); 103 if (selabel_lookup(sehandle, &tctx, name, 0) != 0) { 289 if (sehandle && selinux_status_updated() > 0) { 292 selabel_close(sehandle); 293 sehandle = tmp_sehandle; 398 sehandle = selinux_android_vendor_service_context_handle(); 400 sehandle = selinux_android_service_context_handle(); 404 if (sehandle == NULL) [all...] |
/external/selinux/libselinux/src/ |
selinux_restorecon.c | 92 struct selabel_handle *sehandle = NULL; local 95 sehandle = selinux_restorecon_default_handle(); 96 selinux_restorecon_set_sehandle(sehandle); 1062 struct selabel_handle *sehandle; local 1068 sehandle = selabel_open(SELABEL_CTX_FILE, fc_opts, 1); 1070 if (!sehandle) { 1077 return sehandle;
|
/system/core/init/ |
init.cpp | 76 struct selabel_handle *sehandle; variable in typeref:struct:selabel_handle 536 sehandle = selinux_android_file_context_handle(); 537 selinux_android_set_sehandle(sehandle); [all...] |
/bootable/recovery/ |
recovery.cpp | 135 struct selabel_handle* sehandle; variable in typeref:struct:selabel_handle 191 if (strchr("wa", mode[0])) dirCreateHierarchy(path, 0777, NULL, 1, sehandle); 599 dirCreateHierarchy(CACHE_LOG_DIR, 0777, nullptr, false, sehandle) == 0) { [all...] |
/external/selinux/libselinux/src/android/ |
android.c | 1606 struct selabel_handle *sehandle; local 1646 struct selabel_handle* sehandle; local 1672 struct selabel_handle* sehandle; local [all...] |