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

  /bootable/recovery/updater/
updater.h 36 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 84 if (sehandle) {
85 selabel_lookup(sehandle, &secontext, mount_point, 0755);
265 int status = make_ext4fs(location, atoll(fs_size), mount_point, sehandle);
372 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 115 if (sehandle) {
116 ret = selabel_lookup(sehandle, &secon, addr.sun_path, S_IFSOCK);
474 if (sehandle) {
475 selabel_lookup(sehandle, &secontext, path, mode);
500 if (is_selinux_enabled() <= 0 || !sehandle)
505 if (selabel_lookup(sehandle, &secontext, pathname, sb.st_mode) < 0)
init.c 65 struct selabel_handle *sehandle; variable in typeref:struct:selabel_handle
785 struct selabel_handle* sehandle = NULL; local
786 while ((sehandle == NULL) && seopts_prop[i].value) {
787 sehandle = selabel_open(SELABEL_CTX_ANDROID_PROP, &seopts_prop[i], 1);
791 if (!sehandle) {
797 return sehandle;
802 sehandle = selinux_android_file_context_handle();
818 if (sehandle)
819 selabel_close(sehandle);
init.h 140 extern struct selabel_handle *sehandle;
devices.c 57 extern struct selabel_handle *sehandle;
202 if (sehandle) {
203 selabel_lookup(sehandle, &secontext, path, mode);
886 sehandle = NULL;
888 sehandle = selinux_android_file_context_handle();
  /bootable/recovery/
roots.cpp 34 extern struct selabel_handle *sehandle;
274 int result = make_ext4fs(v->device, v->length, volume, sehandle);
recovery.cpp 48 struct selabel_handle *sehandle; variable in typeref:struct:selabel_handle
148 if (strchr("wa", mode[0])) dirCreateHierarchy(path, 0777, NULL, 1, sehandle);
871 sehandle = selabel_open(SELABEL_CTX_FILE, seopts, 1);
873 if (!sehandle) {
  /external/libselinux/src/
android.c 531 static struct selabel_handle *sehandle = NULL; variable in typeref:struct:selabel_handle
545 selinux_log(SELINUX_ERROR, "%s: Error getting sehandle label (%s)\n",
552 sehandle = file_context_open();
564 if (!sehandle)
577 if (selabel_lookup(sehandle, &newcontext, pathname, sb.st_mode) < 0)

Completed in 208 milliseconds