Searched refs:sehnd (Results 1 – 5 of 5) sorted by relevance
/external/squashfs-tools/squashfs-tools/ |
D | android.c | 69 struct selabel_handle *sehnd = in get_sehnd() local 72 if (!sehnd) { in get_sehnd() 76 return sehnd; in get_sehnd() 80 char *set_selabel(const char *path, unsigned int mode, struct selabel_handle *sehnd) { in set_selabel() argument 82 if (sehnd != NULL) { in set_selabel() 93 if (selabel_lookup(sehnd, &secontext, full_name, mode)) { in set_selabel()
|
D | xattr.c | 69 static struct selabel_handle *sehnd = NULL; variable 161 struct selabel_handle *sehnd, struct xattr_list *xattrs) in read_selinux_xattr_from_sehnd() argument 166 attr_val = set_selabel(filename, mode, sehnd); in read_selinux_xattr_from_sehnd() 700 if (sehnd == NULL) in read_xattrs() 701 sehnd = get_sehnd(context_file); in read_xattrs() 707 sehnd, next_xattr); in read_xattrs() 712 sehnd, next_xattr); in read_xattrs()
|
D | android.h | 27 char *set_selabel(const char *path, unsigned int mode, struct selabel_handle *sehnd);
|
/external/e2fsprogs/contrib/android/ |
D | perms.c | 24 struct selabel_handle *sehnd; member 74 if (params->sehnd == NULL) in set_selinux_xattr() 84 retval = selabel_lookup(params->sehnd, &secontext, params->filename, in set_selinux_xattr() 258 struct selabel_handle *sehnd, in __android_configure_fs() argument 267 .sehnd = sehnd, in __android_configure_fs() 297 struct selabel_handle *sehnd = NULL; in android_configure_fs() local 302 sehnd = selabel_open(SELABEL_CTX_FILE, seopts, nopt); in android_configure_fs() 303 if (!sehnd) { in android_configure_fs() 311 sehnd = selinux_android_file_context_handle(); in android_configure_fs() 312 if (!sehnd) { in android_configure_fs() [all …]
|
/external/f2fs-tools/fsck/ |
D | sload.c | 69 nid_t dir_ino, struct selabel_handle *sehnd) in build_directory() argument 117 if (sehnd && selabel_lookup(sehnd, &dentries[i].secon, in build_directory() 170 target_out_dir, dentries[i].ino, sehnd); in build_directory() 208 struct selabel_handle *sehnd) in f2fs_sload() argument 223 mnt_ino, sehnd); in f2fs_sload() 230 if (sehnd) { in f2fs_sload() 234 if (selabel_lookup(sehnd, &secontext, mount_point, S_IFDIR) < 0) in f2fs_sload()
|