/bootable/recovery/otautil/ |
dirutil.cpp | 94 char* secontext = nullptr; local 96 selabel_lookup(const_cast<selabel_handle*>(sehnd), &secontext, dir_path.c_str(), mode); local 97 setfscreatecon(secontext); 100 if (secontext) { 101 freecon(secontext);
|
/external/squashfs-tools/squashfs-tools/ |
android.c | 81 char *secontext; local 93 if (selabel_lookup(sehnd, &secontext, full_name, mode)) { 94 secontext = strdup("u:object_r:unlabeled:s0"); 98 return secontext;
|
/build/make/tools/fs_config/ |
fs_config.c | 160 char* secontext; local 161 if (selabel_lookup(sehnd, &secontext, full_name, ( mode | (is_dir ? S_IFDIR : S_IFREG)))) { 162 secontext = strdup("u:object_r:unlabeled:s0"); 165 printf(" selabel=%s", secontext); 167 freecon(secontext);
|
/external/f2fs-tools/fsck/ |
sload.c | 63 char *secontext = NULL; local 76 if (selabel_lookup(sehnd, &secontext, mnt_path, mode) < 0) { 82 if (secontext) { 84 mnt_path, ino, secontext); 85 inode_set_selinux(sbi, ino, secontext); 87 freecon(secontext);
|
/external/e2fsprogs/contrib/android/ |
perms.c | 68 char *secontext = NULL; local 81 retval = selabel_lookup(params->sehnd, &secontext, params->filename, 91 secontext, strlen(secontext) + 1); 93 freecon(secontext);
|
/bootable/recovery/updater/ |
install.cpp | 317 char* secontext = nullptr; local 320 selabel_lookup(sehandle, &secontext, mount_point.c_str(), 0755); 321 setfscreatecon(secontext); 326 if (secontext) { 327 freecon(secontext); [all...] |
/external/selinux/libselinux/src/android/ |
android_platform.c | 1347 char *secontext = *secontextp; local 1457 char *secontext = NULL; local [all...] |