/system/extras/ext4_utils/ |
make_ext4fs.h | 27 const char *mountpoint, struct selabel_handle *sehnd); 29 const char *mountpoint, struct selabel_handle *sehnd);
|
make_ext4fs_main.c | 74 struct selabel_handle *sehnd = NULL; local 136 sehnd = selabel_open(SELABEL_CTX_FILE, seopts, 1); 137 if (!sehnd) { 154 if (!sehnd && mountpoint) { 155 sehnd = selinux_android_file_context_handle(); 157 if (!sehnd) { 204 sparse, crc, wipe, sehnd, verbose);
|
make_ext4fs.c | 112 struct selabel_handle *sehnd, int verbose) 184 if (sehnd) { 185 if (selabel_lookup(sehnd, &dentries[i].secon, dentries[i].path, stat.st_mode) < 0) { 234 if (sehnd) { 235 if (selabel_lookup(sehnd, &dentries[0].secon, dentries[0].path, dentries[0].mode) < 0) 259 subdir_dir_path, inode, fs_config_func, sehnd, verbose); 372 const char *mountpoint, struct selabel_handle *sehnd) 377 return make_ext4fs_internal(fd, NULL, mountpoint, NULL, 0, 1, 0, 0, sehnd, 0); 381 const char *mountpoint, struct selabel_handle *sehnd) 395 status = make_ext4fs_internal(fd, NULL, mountpoint, NULL, 0, 0, 0, 1, sehnd, 0) [all...] |
ext4_utils.h | 191 struct selabel_handle *sehnd, int verbose);
|
/build/tools/fs_config/ |
fs_config.c | 61 struct selabel_handle* sehnd = selabel_open(SELABEL_CTX_FILE, seopts, 1); local 63 if (!sehnd) { 67 return sehnd; 77 struct selabel_handle* sehnd = NULL; local 95 sehnd = get_sehnd(context_file); 121 if (sehnd != NULL) { 139 if (selabel_lookup(sehnd, &secontext, full_name, ( mode | (is_dir ? S_IFDIR : S_IFREG)))) {
|
/bootable/recovery/minzip/ |
DirUtil.h | 45 struct selabel_handle* sehnd);
|
DirUtil.c | 58 struct selabel_handle *sehnd) 150 if (sehnd) { 151 selabel_lookup(sehnd, &secontext, cpath, mode);
|
Zip.h | 219 struct selabel_handle *sehnd);
|
Zip.c | 934 struct selabel_handle *sehnd) 1050 targetFile, UNZIP_DIRMODE, timestamp, false, sehnd); 1064 targetFile, UNZIP_DIRMODE, timestamp, true, sehnd); [all...] |
/external/sepolicy/tools/ |
checkfc.c | 42 struct selabel_handle *sehnd; local 82 sehnd = selabel_open(backend, opts, 2); 83 if (!sehnd) {
|
/external/yaffs2/yaffs2/utils/ |
mkyaffs2image.c | 39 static struct selabel_handle *sehnd; variable in typeref:struct:selabel_handle 364 if (sehnd) { 389 if (selabel_lookup(sehnd, &secontext, 581 sehnd = selabel_open(SELABEL_CTX_FILE, seopts, 1); 582 if (!sehnd) { 635 if (sehnd) { 648 if (selabel_lookup(sehnd, &secontext, sepath, stats.st_mode) < 0) {
|