Home
last modified time | relevance | path

Searched refs:sehnd (Results 1 – 5 of 5) sorted by relevance

/external/squashfs-tools/squashfs-tools/
Dandroid.c69 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()
Dxattr.c69 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()
Dandroid.h27 char *set_selabel(const char *path, unsigned int mode, struct selabel_handle *sehnd);
/external/e2fsprogs/contrib/android/
Dperms.c24 struct selabel_handle *sehnd; member
71 if (params->sehnd == NULL) in set_selinux_xattr()
81 retval = selabel_lookup(params->sehnd, &secontext, params->filename, in set_selinux_xattr()
290 struct selabel_handle *sehnd, in __android_configure_fs() argument
301 .sehnd = sehnd, in __android_configure_fs()
336 struct selabel_handle *sehnd = NULL; in android_configure_fs() local
341 sehnd = selabel_open(SELABEL_CTX_FILE, seopts, nopt); in android_configure_fs()
342 if (!sehnd) { in android_configure_fs()
351 sehnd = selinux_android_file_context_handle(); in android_configure_fs()
352 if (!sehnd) { in android_configure_fs()
[all …]
/external/f2fs-tools/fsck/
Dsload.c23 static struct selabel_handle *sehnd = NULL; variable
73 if (!sehnd) in set_selinux_xattr()
83 if (selabel_lookup(sehnd, &secontext, mnt_path, mode) < 0) { in set_selinux_xattr()
279 sehnd = selabel_open(SELABEL_CTX_FILE, c.seopt_file, c.nr_opt); in configure_files()
280 if (!sehnd) { in configure_files()
286 sehnd = selinux_android_file_context_handle(); in configure_files()
287 if (!sehnd) { in configure_files()