/external/squashfs-tools/squashfs-tools/ |
android.c | 69 struct selabel_handle *sehnd = local 72 if (!sehnd) { 76 return sehnd; 80 char *set_selabel(const char *path, unsigned int mode, struct selabel_handle *sehnd) { 82 if (sehnd != NULL) { 93 if (selabel_lookup(sehnd, &secontext, full_name, mode)) {
|
xattr.c | 69 static struct selabel_handle *sehnd = NULL; variable in typeref:struct:selabel_handle 161 struct selabel_handle *sehnd, struct xattr_list *xattrs) 166 attr_val = set_selabel(filename, mode, sehnd); 700 if (sehnd == NULL) 701 sehnd = get_sehnd(context_file); 707 sehnd, next_xattr); 712 sehnd, next_xattr);
|
/build/make/tools/fs_config/ |
fs_config.c | 60 struct selabel_handle* sehnd = selabel_open(SELABEL_CTX_FILE, seopts, 1); local 62 if (!sehnd) { 66 return sehnd; 78 struct selabel_handle* sehnd = NULL; local 102 sehnd = get_sehnd(context_file); 143 if (sehnd != NULL) { 161 if (selabel_lookup(sehnd, &secontext, full_name, ( mode | (is_dir ? S_IFDIR : S_IFREG)))) {
|
/external/f2fs-tools/fsck/ |
sload.c | 23 static struct selabel_handle *sehnd = NULL; variable in typeref:struct:selabel_handle 66 if (!sehnd) 76 if (selabel_lookup(sehnd, &secontext, mnt_path, mode) < 0) { 260 sehnd = selabel_open(SELABEL_CTX_FILE, c.seopt_file, c.nr_opt); 261 if (!sehnd) { 267 sehnd = selinux_android_file_context_handle(); 268 if (!sehnd) {
|
/external/e2fsprogs/contrib/android/ |
perms.c | 24 struct selabel_handle *sehnd; member in struct:inode_params 71 if (params->sehnd == NULL) 81 retval = selabel_lookup(params->sehnd, &secontext, params->filename, 290 struct selabel_handle *sehnd, 301 .sehnd = sehnd, 336 struct selabel_handle *sehnd = NULL; local 341 sehnd = selabel_open(SELABEL_CTX_FILE, seopts, nopt); 342 if (!sehnd) { 351 sehnd = selinux_android_file_context_handle() [all...] |