Home
last modified time | relevance | path

Searched refs:mls_range (Results 1 – 12 of 12) sorted by relevance

/third_party/selinux/libsepol/include/sepol/policydb/
Dmls_types.h49 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/
Duser_record.c17 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()
Dmls.c610 struct mls_range *r; in mls_compute_sid()
Dkernel_to_conf.c1969 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()
Dpolicydb.c1435 struct mls_range *rt = (struct mls_range *)datum; in range_tr_destroy()
3624 struct mls_range *r = NULL; in range_read()
Dkernel_to_cil.c1993 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()
Dwrite.c1680 struct mls_range *r = data; in range_write_helper()
/third_party/selinux/libsepol/tests/policies/support/
Dmisc_macros.spt9 # gen_user(username, prefix, role_set, mls_defaultlevel, mls_range, [mcs_categories])
/third_party/selinux/libsepol/include/sepol/
Dcontext_record.h38 sepol_context_t * con, const char *mls_range);
Duser_record.h50 sepol_user_t * user, const char *mls_range);
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c3120 …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/
Dvmlinux.h54004 struct mls_range { struct
54013 struct mls_range range; argument
54176 struct mls_range range;