Searched refs:mls_level (Results 1 – 8 of 8) sorted by relevance
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | mls_types.h | 44 typedef struct mls_level { struct 77 static inline int mls_level_cpy(struct mls_level *dst, struct mls_level *src) in mls_level_cpy() 86 static inline void mls_level_init(struct mls_level *level) in mls_level_init() 92 static inline void mls_level_destroy(struct mls_level *level) in mls_level_destroy() 102 static inline int mls_level_eq(const struct mls_level *l1, const struct mls_level *l2) in mls_level_eq() 107 static inline int mls_level_dom(const struct mls_level *l1, const struct mls_level *l2) in mls_level_dom()
|
/third_party/selinux/libsepol/src/ |
D | user_record.c | 13 char *mls_level; member 121 return user->mls_level; in sepol_user_get_mlslevel() 126 sepol_user_t * user, const char *mls_level) in sepol_user_set_mlslevel() argument 129 char *tmp_mls_level = strdup(mls_level); in sepol_user_set_mlslevel() 135 free(user->mls_level); in sepol_user_set_mlslevel() 136 user->mls_level = tmp_mls_level; in sepol_user_set_mlslevel() 316 user->mls_level = NULL; in sepol_user_create() 343 if (user->mls_level && in sepol_user_clone() 344 (sepol_user_set_mlslevel(handle, new_user, user->mls_level) < 0)) in sepol_user_clone() 373 free(user->mls_level); in sepol_user_free()
|
D | kernel_to_cil.c | 1916 static char *level_to_str(struct policydb *pdb, struct mls_level *level) in level_to_str()
|
D | kernel_to_conf.c | 1897 static char *level_to_str(struct policydb *pdb, struct mls_level *level) in level_to_str()
|
D | module_to_cil.c | 2486 static int level_to_cil(struct policydb *pdb, struct mls_level *level) in level_to_cil()
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_binary.c | 855 mls_level_t *mls_level = NULL; in cil_sensitivityorder_to_policydb() local 860 mls_level = cil_malloc(sizeof(*mls_level)); in cil_sensitivityorder_to_policydb() 862 mls_level_init(mls_level); in cil_sensitivityorder_to_policydb() 869 mls_level->sens = value; in cil_sensitivityorder_to_policydb() 870 sepol_level->level = mls_level; in cil_sensitivityorder_to_policydb() 877 mls_level_destroy(mls_level); in cil_sensitivityorder_to_policydb() 879 free(mls_level); in cil_sensitivityorder_to_policydb() 888 mls_level_t *mls_level = NULL; in cil_sensalias_to_policydb() local 902 mls_level = cil_malloc(sizeof(*mls_level)); in cil_sensalias_to_policydb() 903 mls_level_init(mls_level); in cil_sensalias_to_policydb() [all …]
|
D | cil_binary.h | 475 int cil_level_to_mls_level(policydb_t *pdb, struct cil_level *cil_level, mls_level_t *mls_level);
|
/third_party/selinux/libsepol/include/sepol/ |
D | user_record.h | 45 sepol_user_t * user, const char *mls_level);
|