Searched refs:mls_level (Results 1 – 13 of 13) sorted by relevance
/external/selinux/libsepol/include/sepol/policydb/ |
D | mls_types.h | 41 typedef struct mls_level { struct 50 static inline int mls_level_cpy(struct mls_level *dst, struct mls_level *src) in mls_level_cpy() argument 59 static inline void mls_level_init(struct mls_level *level) in mls_level_init() 65 static inline void mls_level_destroy(struct mls_level *level) in mls_level_destroy() 75 static inline int mls_level_eq(const struct mls_level *l1, const struct mls_level *l2) in mls_level_eq() 80 static inline int mls_level_dom(const struct mls_level *l1, const struct mls_level *l2) in mls_level_dom()
|
/external/selinux/libsepol/src/ |
D | user_record.c | 13 char *mls_level; member 116 return user->mls_level; in hidden_def() 122 sepol_user_t * user, const char *mls_level) in hidden_def() 125 char *tmp_mls_level = strdup(mls_level); in hidden_def() 131 free(user->mls_level); in hidden_def() 132 user->mls_level = tmp_mls_level; in hidden_def() 316 user->mls_level = NULL; in sepol_user_create() 344 if (user->mls_level && in hidden_def() 345 (sepol_user_set_mlslevel(handle, new_user, user->mls_level) < 0)) in hidden_def() 374 free(user->mls_level); in sepol_user_free()
|
D | module_to_cil.c | 2378 static int level_to_cil(struct policydb *pdb, struct mls_level *level) in level_to_cil()
|
/external/selinux/libsemanage/src/ |
D | users_base_file.c | 31 const char *mls_level = semanage_user_base_get_mlslevel(user); in user_base_print() local 49 if (mls_level != NULL && mls_range != NULL) in user_base_print() 50 if (fprintf(str, "level %s range %s", mls_level, mls_range) < 0) in user_base_print()
|
D | user_base_record.c | 84 const char *mls_level) in semanage_user_base_set_mlslevel() argument 87 return sepol_user_set_mlslevel(handle->sepolh, user, mls_level); in semanage_user_base_set_mlslevel()
|
D | user_record.c | 155 semanage_user_t * user, const char *mls_level) in hidden_def() 158 return semanage_user_base_set_mlslevel(handle, user->base, mls_level); in hidden_def()
|
D | user_internal.h | 103 const char *mls_level);
|
/external/selinux/policycoreutils/mcstrans/utils/ |
D | Makefile | 24 LDLIBS += -L../src ../src/mcstrans.o ../src/mls_level.o -lselinux -lpcre $(LIBDIR)/libsepol.a
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 858 mls_level_t *mls_level = NULL; in cil_sensitivityorder_to_policydb() local 863 mls_level = cil_malloc(sizeof(*mls_level)); in cil_sensitivityorder_to_policydb() 865 mls_level_init(mls_level); in cil_sensitivityorder_to_policydb() 872 mls_level->sens = value; in cil_sensitivityorder_to_policydb() 873 sepol_level->level = mls_level; in cil_sensitivityorder_to_policydb() 880 mls_level_destroy(mls_level); in cil_sensitivityorder_to_policydb() 882 free(mls_level); in cil_sensitivityorder_to_policydb() 891 mls_level_t *mls_level = NULL; in cil_sensalias_to_policydb() local 905 mls_level = cil_malloc(sizeof(*mls_level)); in cil_sensalias_to_policydb() 906 mls_level_init(mls_level); in cil_sensalias_to_policydb() [all …]
|
D | cil_binary.h | 451 int cil_level_to_mls_level(policydb_t *pdb, struct cil_level *cil_level, mls_level_t *mls_level);
|
/external/selinux/libsemanage/include/semanage/ |
D | user_record.h | 52 const char *mls_level);
|
/external/selinux/libsepol/include/sepol/ |
D | user_record.h | 44 sepol_user_t * user, const char *mls_level);
|
/external/selinux/policycoreutils/mcstrans/src/ |
D | Makefile | 22 PROG_SRC=mcstrans.c mcscolor.c mcstransd.c mls_level.c
|