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

  /bootable/recovery/updater/
updater.h 32 extern struct selabel_handle *sehandle;
updater.c 35 struct selabel_handle *sehandle; variable in typeref:struct:selabel_handle
112 sehandle = selabel_open(SELABEL_CTX_FILE, seopts, 1);
114 if (!sehandle) {
install.c 83 if (sehandle) {
84 selabel_lookup(sehandle, &secontext, mount_point, 0755);
261 int status = make_ext4fs(location, atoll(fs_size), mount_point, sehandle);
368 NULL, NULL, sehandle);
    [all...]
  /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) {
  /system/core/init/
util.c 110 if (sehandle) {
111 ret = selabel_lookup(sehandle, &secon, addr.sun_path, S_IFSOCK);
465 if (sehandle) {
466 selabel_lookup(sehandle, &secontext, path, mode);
488 if (is_selinux_enabled() <= 0 || !sehandle)
493 if (selabel_lookup(sehandle, &secontext, pathname, sb.st_mode) < 0)
init.c 61 struct selabel_handle *sehandle; variable in typeref:struct:selabel_handle
756 struct selabel_handle* sehandle = NULL; local
757 while ((sehandle == NULL) && seopts_prop[i].value) {
758 sehandle = selabel_open(SELABEL_CTX_ANDROID_PROP, &seopts_prop[i], 1);
762 if (!sehandle) {
768 return sehandle;
773 sehandle = selinux_android_file_context_handle();
789 if (sehandle)
790 selabel_close(sehandle);
init.h 137 extern struct selabel_handle *sehandle;
devices.c 54 extern struct selabel_handle *sehandle;
197 if (sehandle) {
198 selabel_lookup(sehandle, &secontext, path, mode);
885 sehandle = NULL;
887 sehandle = selinux_android_file_context_handle();
  /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
150 if (strchr("wa", mode[0])) dirCreateHierarchy(path, 0777, NULL, 1, sehandle);
907 sehandle = selabel_open(SELABEL_CTX_FILE, seopts, 1);
909 if (!sehandle) {
    [all...]
  /external/libselinux/src/
android.c 597 static struct selabel_handle *sehandle = NULL; variable in typeref:struct:selabel_handle
638 sehandle = file_context_open();
653 if (!sehandle)
666 if (selabel_lookup(sehandle, &newcontext, pathname, sb.st_mode) < 0)

Completed in 311 milliseconds