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
113 sehandle = selabel_open(SELABEL_CTX_FILE, seopts, 1);
115 if (!sehandle) {
install.c 89 if (sehandle) {
90 selabel_lookup(sehandle, &secontext, mount_point, 0755);
267 int status = make_ext4fs(location, atoll(fs_size), mount_point, sehandle);
408 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 111 if (sehandle) {
112 ret = selabel_lookup(sehandle, &secon, addr.sun_path, S_IFSOCK);
479 if (sehandle) {
480 selabel_lookup(sehandle, &secontext, path, mode);
502 if (is_selinux_enabled() <= 0 || !sehandle)
507 if (selabel_lookup(sehandle, &secontext, pathname, sb.st_mode) < 0)
init.h 139 extern struct selabel_handle *sehandle;
init.c 63 struct selabel_handle *sehandle; variable in typeref:struct:selabel_handle
854 struct selabel_handle* sehandle = NULL; local
855 while ((sehandle == NULL) && seopts_prop[i].value) {
856 sehandle = selabel_open(SELABEL_CTX_ANDROID_PROP, &seopts_prop[i], 1);
860 if (!sehandle) {
866 return sehandle;
871 sehandle = selinux_android_file_context_handle();
927 if (sehandle)
928 selabel_close(sehandle);
devices.c 54 extern struct selabel_handle *sehandle;
152 if (sehandle) {
154 selabel_lookup(sehandle, &secontext, buf, 0);
206 if (sehandle) {
207 selabel_lookup(sehandle, &secontext, path, mode);
896 sehandle = NULL;
898 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
152 if (strchr("wa", mode[0])) dirCreateHierarchy(path, 0777, NULL, 1, sehandle);
    [all...]
  /external/libselinux/src/
android.c 610 static struct selabel_handle *sehandle = NULL; variable in typeref:struct:selabel_handle
651 sehandle = file_context_open();
669 if (!sehandle)
678 if (selabel_lookup(sehandle, &newcontext, pathname, sb.st_mode) < 0)

Completed in 282 milliseconds