Searched refs:mls_level (Results 1 – 16 of 16) sorted by relevance
/external/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()
|
/external/selinux/libsepol/src/ |
D | user_record.c | 13 char *mls_level; member 124 return user->mls_level; in hidden_def() 130 sepol_user_t * user, const char *mls_level) in hidden_def() 133 char *tmp_mls_level = strdup(mls_level); in hidden_def() 139 free(user->mls_level); in hidden_def() 140 user->mls_level = tmp_mls_level; in hidden_def() 326 user->mls_level = NULL; in sepol_user_create() 354 if (user->mls_level && in hidden_def() 355 (sepol_user_set_mlslevel(handle, new_user, user->mls_level) < 0)) in hidden_def() 384 free(user->mls_level); in sepol_user_free()
|
D | kernel_to_conf.c | 1855 static char *level_to_str(struct policydb *pdb, struct mls_level *level) in level_to_str()
|
D | kernel_to_cil.c | 1875 static char *level_to_str(struct policydb *pdb, struct mls_level *level) in level_to_str()
|
D | module_to_cil.c | 2475 static int level_to_cil(struct policydb *pdb, struct mls_level *level) in level_to_cil()
|
/external/selinux/mcstrans/utils/ |
D | Makefile | 16 transcon: transcon.o ../src/mcstrans.o ../src/mls_level.o $(LIBSEPOLA) 19 untranscon: untranscon.o ../src/mcstrans.o ../src/mls_level.o $(LIBSEPOLA)
|
/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/libsepol/cil/src/ |
D | cil_binary.c | 859 mls_level_t *mls_level = NULL; in cil_sensitivityorder_to_policydb() local 864 mls_level = cil_malloc(sizeof(*mls_level)); in cil_sensitivityorder_to_policydb() 866 mls_level_init(mls_level); in cil_sensitivityorder_to_policydb() 873 mls_level->sens = value; in cil_sensitivityorder_to_policydb() 874 sepol_level->level = mls_level; in cil_sensitivityorder_to_policydb() 881 mls_level_destroy(mls_level); in cil_sensitivityorder_to_policydb() 883 free(mls_level); in cil_sensitivityorder_to_policydb() 892 mls_level_t *mls_level = NULL; in cil_sensalias_to_policydb() local 906 mls_level = cil_malloc(sizeof(*mls_level)); in cil_sensalias_to_policydb() 907 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);
|
/external/selinux/mcstrans/src/ |
D | Makefile | 14 PROG_SRC=mcstrans.c mcscolor.c mcstransd.c mls_level.c
|
/external/selinux/libsepol/include/sepol/ |
D | user_record.h | 45 sepol_user_t * user, const char *mls_level);
|
/external/selinux/libsemanage/include/semanage/ |
D | user_record.h | 52 const char *mls_level);
|
/external/selinux/python/sepolicy/sepolicy/ |
D | __init__.py | 263 'level': str(x.mls_level),
|