HomeSort by relevance Sort by last modified time
    Searched refs:sehandle (Results 1 - 15 of 15) sorted by null

  /system/vold/
sehandle.h 22 extern struct selabel_handle *sehandle;
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);
Loop.cpp 39 #include "sehandle.h"
149 if (sehandle) {
150 rc = selabel_lookup(sehandle, &secontext, filename, S_IFBLK);
Utils.cpp 17 #include "sehandle.h"
65 if (sehandle) {
66 if (!selabel_lookup(sehandle, &secontext, cpath, S_IFBLK)) {
101 if (sehandle) {
102 if (!selabel_lookup(sehandle, &secontext, cpath, S_IFDIR)) {
  /bootable/recovery/updater/
updater.h 35 extern struct selabel_handle *sehandle;
updater.cpp 41 struct selabel_handle *sehandle; variable in typeref:struct:selabel_handle
125 sehandle = selabel_open(SELABEL_CTX_FILE, seopts, 1);
127 if (!sehandle) {
install.cpp 161 if (sehandle) {
162 selabel_lookup(sehandle, &secontext, mount_point, 0755);
366 int status = make_ext4fs(location, atoll(fs_size), mount_point, sehandle);
528 NULL, NULL, sehandle);
    [all...]
  /system/core/init/
init.h 31 extern struct selabel_handle *sehandle;
util.cpp 136 if (sehandle) {
137 ret = selabel_lookup(sehandle, &filecon, addr.sun_path, S_IFSOCK);
447 if (sehandle) {
448 selabel_lookup(sehandle, &secontext, path, mode);
init.cpp 71 struct selabel_handle *sehandle; variable in typeref:struct:selabel_handle
491 sehandle = selinux_android_file_context_handle();
492 selinux_android_set_sehandle(sehandle);
526 if (sehandle)
527 selabel_close(sehandle);
devices.cpp 57 extern struct selabel_handle *sehandle;
245 if (selabel_lookup_best_match(sehandle, &secontext, path, links, mode)) {
914 selabel_close(sehandle);
915 sehandle = sehandle2;
977 sehandle = selinux_android_file_context_handle();
  /frameworks/native/cmds/servicemanager/
service_manager.c 65 static struct selabel_handle* sehandle; variable in typeref:struct:selabel_handle
108 if (!sehandle) {
109 ALOGE("SELinux: Failed to find sehandle. Aborting service_manager.\n");
113 if (selabel_lookup(sehandle, &tctx, name, 0) != 0) {
299 if (sehandle && selinux_status_updated() > 0) {
302 selabel_close(sehandle);
303 sehandle = tmp_sehandle;
388 sehandle = selinux_android_service_context_handle();
392 if (sehandle == NULL) {
393 ALOGE("SELinux: Failed to acquire sehandle. Aborting.\n")
    [all...]
  /external/libselinux/src/
android.c 1487 struct selabel_handle *sehandle; local
1515 struct selabel_handle* sehandle; local
1533 struct selabel_handle* sehandle; local
    [all...]
  /bootable/recovery/
roots.cpp 38 extern struct selabel_handle *sehandle;
244 result = make_ext4fs_directory(v->blk_device, length, volume, sehandle, directory);
recovery.cpp 70 struct selabel_handle *sehandle; variable in typeref:struct:selabel_handle
202 if (strchr("wa", mode[0])) dirCreateHierarchy(path, 0777, NULL, 1, sehandle);
    [all...]

Completed in 868 milliseconds