Searched refs:mls_range (Results 1 – 12 of 12) sorted by relevance
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | mls_types.h | 49 typedef struct mls_range { struct 53 static inline int mls_range_glblub(struct mls_range *dst, const struct mls_range *r1, const struct … in mls_range_glblub() argument 140 static inline void mls_range_init(struct mls_range *r) in mls_range_init() 146 static inline void mls_range_destroy(struct mls_range *r) in mls_range_destroy() 152 static inline int mls_range_eq(const struct mls_range *r1, const struct mls_range *r2) in mls_range_eq()
|
/third_party/selinux/libsepol/src/ |
D | user_record.c | 17 char *mls_range; member 145 return user->mls_range; in sepol_user_get_mlsrange() 150 sepol_user_t * user, const char *mls_range) in sepol_user_set_mlsrange() argument 153 char *tmp_mls_range = strdup(mls_range); in sepol_user_set_mlsrange() 159 free(user->mls_range); in sepol_user_set_mlsrange() 160 user->mls_range = tmp_mls_range; in sepol_user_set_mlsrange() 319 user->mls_range = NULL; in sepol_user_create() 349 if (user->mls_range && in sepol_user_clone() 350 (sepol_user_set_mlsrange(handle, new_user, user->mls_range) < 0)) in sepol_user_clone() 376 free(user->mls_range); in sepol_user_free()
|
D | mls.c | 610 struct mls_range *r; in mls_compute_sid()
|
D | kernel_to_conf.c | 1969 mls_range_t *mls_range = data; in map_range_trans_to_str() local 1979 range = range_to_str(pdb, mls_range); in map_range_trans_to_str()
|
D | policydb.c | 1435 struct mls_range *rt = (struct mls_range *)datum; in range_tr_destroy() 3624 struct mls_range *r = NULL; in range_read()
|
D | kernel_to_cil.c | 1993 mls_range_t *mls_range = data; in map_range_trans_to_str() local 2003 range = range_to_str(pdb, mls_range); in map_range_trans_to_str()
|
D | write.c | 1680 struct mls_range *r = data; in range_write_helper()
|
/third_party/selinux/libsepol/tests/policies/support/ |
D | misc_macros.spt | 9 # gen_user(username, prefix, role_set, mls_defaultlevel, mls_range, [mcs_categories])
|
/third_party/selinux/libsepol/include/sepol/ |
D | context_record.h | 38 sepol_context_t * con, const char *mls_range);
|
D | user_record.h | 50 sepol_user_t * user, const char *mls_range);
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_binary.c | 3120 …velrange_to_mls_range(policydb_t *pdb, struct cil_levelrange *cil_lvlrange, mls_range_t *mls_range) in __cil_levelrange_to_mls_range() argument 3127 mls_level = &mls_range->level[0]; in __cil_levelrange_to_mls_range() 3134 mls_level = &mls_range->level[1]; in __cil_levelrange_to_mls_range() 3256 struct mls_range *newdatum = NULL; in cil_rangetransition_to_policydb() 3261 struct mls_range *o_range = NULL; in cil_rangetransition_to_policydb()
|
/third_party/libbpf/.github/actions/build-selftests/ |
D | vmlinux.h | 54004 struct mls_range { struct 54013 struct mls_range range; argument 54176 struct mls_range range;
|