/external/squashfs-tools/squashfs-tools/ |
android.c | 64 struct selabel_handle *sehnd = local 67 if (!sehnd) { 71 return sehnd; 75 char *set_selabel(const char *path, unsigned int mode, struct selabel_handle *sehnd) { 77 if (sehnd != NULL) { 88 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/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); 124 if (sehnd != NULL) { 142 if (selabel_lookup(sehnd, &secontext, full_name, ( mode | (is_dir ? S_IFDIR : S_IFREG)))) {
|
/system/extras/ext4_utils/ |
make_ext4fs_main.c | 82 struct selabel_handle *sehnd = NULL; local 149 sehnd = selabel_open(SELABEL_CTX_FILE, seopts, 1); 150 if (!sehnd) { 194 if (!sehnd && mountpoint) { 195 sehnd = selinux_android_file_context_handle(); 197 if (!sehnd) { 257 sparse, crc, wipe, real_uuid, sehnd, verbose, fixed_time,
|
/system/sepolicy/tools/ |
checkfc.c | 38 struct selabel_handle *sehnd[SEHANDLE_CNT]; member in struct:__anon74615::__anon74616 222 struct selabel_handle *sehnd = global_state.sepolicy.sehnd[i]; local 223 if (sehnd) { 224 selabel_close(sehnd); 239 global_state.sepolicy.sehnd[i] = selabel_open(backend, opts, 2); 240 if (!global_state.sepolicy.sehnd[i]) { 246 result = selabel_cmp(global_state.sepolicy.sehnd[0], global_state.sepolicy.sehnd[1]); 312 global_state.sepolicy.sehnd[0] = selabel_open(backend, opts, 2) [all...] |