/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; 77 struct selabel_handle* sehnd = NULL; local 98 sehnd = get_sehnd(context_file); 127 if (sehnd != NULL) { 145 if (selabel_lookup(sehnd, &secontext, full_name, ( mode | (is_dir ? S_IFDIR : S_IFREG)))) {
|
/system/extras/ext4_utils/ |
make_ext4fs_main.c | 83 struct selabel_handle *sehnd = NULL; local 156 sehnd = selabel_open(SELABEL_CTX_FILE, seopts, 1); 157 if (!sehnd) { 201 if (!sehnd && mountpoint) { 202 sehnd = selinux_android_file_context_handle(); 204 if (!sehnd) { 264 sparse, crc, wipe, real_uuid, sehnd, verbose, fixed_time,
|
/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, 257 struct selabel_handle *sehnd, 266 .sehnd = sehnd, 295 struct selabel_handle *sehnd = NULL; local 301 sehnd = selabel_open(SELABEL_CTX_FILE, seopts, 1); 302 if (!sehnd) { 324 fs_config_func, sehnd, fixed_time) [all...] |
/system/sepolicy/tools/ |
checkfc.c | 42 struct selabel_handle *sehnd[SEHANDLE_CNT]; member in struct:__anon107685::__anon107686 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...] |