Home
last modified time | relevance | path

Searched refs:mls_level (Results 1 - 8 of 8) sorted by relevance

/third_party/selinux/libsepol/include/sepol/policydb/
H A Dmls_types.h44 typedef struct mls_level { struct
77 static inline int mls_level_cpy(struct mls_level *dst, const 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/
H A Duser_record.c14 char *mls_level; member
122 return user->mls_level; in sepol_user_get_mlslevel()
127 sepol_user_t * user, const char *mls_level) in sepol_user_set_mlslevel()
130 char *tmp_mls_level = strdup(mls_level); in sepol_user_set_mlslevel()
136 free(user->mls_level); in sepol_user_set_mlslevel()
137 user->mls_level = tmp_mls_level; in sepol_user_set_mlslevel()
318 user->mls_level = NULL; in sepol_user_create()
345 if (user->mls_level && in sepol_user_clone()
346 (sepol_user_set_mlslevel(handle, new_user, user->mls_level) < 0)) in sepol_user_clone()
375 free(user->mls_level); in sepol_user_free()
126 sepol_user_set_mlslevel(sepol_handle_t * handle, sepol_user_t * user, const char *mls_level) sepol_user_set_mlslevel() argument
[all...]
H A Dkernel_to_cil.c1942 static char *level_to_str(struct policydb *pdb, struct mls_level *level) in level_to_str()
H A Dkernel_to_conf.c1918 static char *level_to_str(struct policydb *pdb, struct mls_level *level) in level_to_str()
H A Dmodule_to_cil.c2493 static int level_to_cil(struct policydb *pdb, struct mls_level *level) in level_to_cil()
/third_party/selinux/libsepol/cil/src/
H A Dcil_binary.c855 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 in cil_sensalias_to_policydb()
3027 __cil_cats_to_mls_level(policydb_t *pdb, struct cil_cats *cats, mls_level_t *mls_level) __cil_cats_to_mls_level() argument
3065 mls_level_t *mls_level = NULL; cil_sepol_level_define() local
3093 cil_level_to_mls_level(policydb_t *pdb, struct cil_level *cil_level, mls_level_t *mls_level) cil_level_to_mls_level() argument
3125 mls_level_t *mls_level = NULL; __cil_levelrange_to_mls_range() local
[all...]
H A Dcil_binary.h471 * @param[out] mls_level The mls_level that is created.
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/
H A Duser_record.h45 sepol_user_t * user, const char *mls_level);

Completed in 19 milliseconds