/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)) {
|
android.h | 27 char *set_selabel(const char *path, unsigned int mode, struct selabel_handle *sehnd);
|
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);
|
/external/e2fsprogs/contrib/android/ |
perms.c | 24 struct selabel_handle *sehnd; member in struct:inode_params 74 if (params->sehnd == NULL) 84 retval = selabel_lookup(params->sehnd, &secontext, params->filename, 258 struct selabel_handle *sehnd, 267 .sehnd = sehnd, 297 struct selabel_handle *sehnd = NULL; local 302 sehnd = selabel_open(SELABEL_CTX_FILE, seopts, nopt); 303 if (!sehnd) { 311 sehnd = selinux_android_file_context_handle() [all...] |
/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)))) {
|
/system/sepolicy/tools/ |
checkfc.c | 42 struct selabel_handle *sehnd[SEHANDLE_CNT]; member in struct:__anon3700::__anon3701 233 struct selabel_handle *sehnd = global_state.sepolicy.sehnd[i]; local 234 if (sehnd) { 235 selabel_close(sehnd); 250 global_state.sepolicy.sehnd[i] = selabel_open(backend, opts, 2); 251 if (!global_state.sepolicy.sehnd[i]) { 257 result = selabel_cmp(global_state.sepolicy.sehnd[0], global_state.sepolicy.sehnd[1]); 323 global_state.sepolicy.sehnd[0] = selabel_open(backend, opts, 2) [all...] |
/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) {
|
/bootable/recovery/otautil/ |
DirUtil.cpp | 50 const selabel_handle* sehnd) { 95 if (sehnd) { 96 selabel_lookup(const_cast<selabel_handle*>(sehnd), &secontext, dir_path.c_str(), mode);
|
/bootable/recovery/otautil/include/otautil/ |
DirUtil.h | 37 const struct selabel_handle* sehnd);
|