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"
148 if (sehandle) {
149 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.c 38 struct selabel_handle *sehandle; variable in typeref:struct:selabel_handle
121 sehandle = selabel_open(SELABEL_CTX_FILE, seopts, 1);
123 if (!sehandle) {
install.c 138 if (sehandle) {
139 selabel_lookup(sehandle, &secontext, mount_point, 0755);
337 int status = make_ext4fs(location, atoll(fs_size), mount_point, sehandle);
500 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) {
281 if (sehandle && selinux_status_updated() > 0) {
284 selabel_close(sehandle);
285 sehandle = tmp_sehandle;
363 sehandle = selinux_android_service_context_handle();
367 if (sehandle == NULL) {
368 ALOGE("SELinux: Failed to acquire sehandle. Aborting.\n")
    [all...]
  /system/core/init/
util.cpp 122 if (sehandle) {
123 ret = selabel_lookup(sehandle, &filecon, addr.sun_path, S_IFSOCK);
439 if (sehandle) {
440 selabel_lookup(sehandle, &secontext, path, mode);
init.h 138 extern struct selabel_handle *sehandle;
devices.cpp 56 extern struct selabel_handle *sehandle;
244 if (sehandle) {
245 selabel_lookup_best_match(sehandle, &secontext, path, links, mode);
910 if (sehandle && selinux_status_updated() > 0) {
914 selabel_close(sehandle);
915 sehandle = sehandle2;
977 sehandle = NULL;
979 sehandle = selinux_android_file_context_handle();
init.cpp 67 struct selabel_handle *sehandle; variable in typeref:struct:selabel_handle
872 sehandle = selinux_android_file_context_handle();
873 selinux_android_set_sehandle(sehandle);
934 if (sehandle)
935 selabel_close(sehandle);
    [all...]
  /external/libselinux/src/
android.c 1377 struct selabel_handle *sehandle; local
1399 struct selabel_handle* sehandle; local
1417 struct selabel_handle* sehandle; local
    [all...]
  /bootable/recovery/
roots.cpp 40 extern struct selabel_handle *sehandle;
236 result = make_ext4fs(v->blk_device, length, volume, sehandle);
recovery.cpp 53 struct selabel_handle *sehandle; variable in typeref:struct:selabel_handle
163 if (strchr("wa", mode[0])) dirCreateHierarchy(path, 0777, NULL, 1, sehandle);
    [all...]

Completed in 278 milliseconds