/external/selinux/libsemanage/src/ |
D | seuser_record.c | 31 char *mls_range; member 164 return seuser->mls_range; in hidden_def() 171 const char *mls_range) in hidden_def() 174 char *tmp_mls_range = strdup(mls_range); in hidden_def() 179 free(seuser->mls_range); in hidden_def() 180 seuser->mls_range = tmp_mls_range; in hidden_def() 201 seuser->mls_range = NULL; in hidden_def() 226 if (seuser->mls_range && in hidden_def() 227 (semanage_seuser_set_mlsrange(handle, new_seuser, seuser->mls_range) in hidden_def() 251 free(seuser->mls_range); in hidden_def()
|
D | seusers_local.c | 126 const char *mls_range = semanage_seuser_get_mlsrange(data); in semanage_seuser_modify_local() local 139 if (!mls_range && semanage_mls_enabled(handle)) { in semanage_seuser_modify_local() 149 mls_range = semanage_user_get_mlsrange(u); in semanage_seuser_modify_local() 150 rc = semanage_seuser_set_mlsrange(handle, new, mls_range); in semanage_seuser_modify_local() 252 const char *mls_range = semanage_seuser_get_mlsrange(seuser); in validate_handler() local 267 if (mls_range && sepol_policydb_mls_enabled(policydb)) { in validate_handler() 273 if (sepol_mls_check(handle->sepolh, policydb, mls_range) < 0) in validate_handler() 276 user_mls_range, mls_range, &mls_ok) < 0) in validate_handler() 282 mls_range, name, user_mls_range, sename); in validate_handler() 286 } else if (mls_range) { in validate_handler() [all …]
|
D | users_base_file.c | 32 const char *mls_range = semanage_user_base_get_mlsrange(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 | context_record.c | 61 semanage_context_t * con, const char *mls_range) in semanage_context_set_mls() argument 64 return sepol_context_set_mls(handle->sepolh, con, mls_range); in semanage_context_set_mls()
|
D | user_base_record.c | 99 const char *mls_range) in semanage_user_base_set_mlsrange() argument 102 return sepol_user_set_mlsrange(handle->sepolh, user, mls_range); in semanage_user_base_set_mlsrange()
|
D | user_record.c | 172 semanage_user_t * user, const char *mls_range) in hidden_def() 175 return semanage_user_base_set_mlsrange(handle, user->base, mls_range); in hidden_def()
|
D | user_internal.h | 110 const char *mls_range);
|
/external/selinux/libsepol/src/ |
D | user_record.c | 16 char *mls_range; member 141 return user->mls_range; in hidden_def() 147 sepol_user_t * user, const char *mls_range) in hidden_def() 150 char *tmp_mls_range = strdup(mls_range); in hidden_def() 156 free(user->mls_range); in hidden_def() 157 user->mls_range = tmp_mls_range; in hidden_def() 317 user->mls_range = NULL; in sepol_user_create() 348 if (user->mls_range && in hidden_def() 349 (sepol_user_set_mlsrange(handle, new_user, user->mls_range) < 0)) in hidden_def() 375 free(user->mls_range); in sepol_user_free()
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | mls_types.h | 46 typedef struct mls_range { struct 113 static inline void mls_range_init(struct mls_range *r) in mls_range_init() 119 static inline void mls_range_destroy(struct mls_range *r) in mls_range_destroy() 125 static inline int mls_range_eq(struct mls_range *r1, struct mls_range *r2) in mls_range_eq()
|
/external/selinux/libsepol/tests/policies/support/ |
D | misc_macros.spt | 9 # gen_user(username, prefix, role_set, mls_defaultlevel, mls_range, [mcs_categories])
|
/external/selinux/libsepol/include/sepol/ |
D | context_record.h | 37 sepol_context_t * con, const char *mls_range);
|
D | user_record.h | 49 sepol_user_t * user, const char *mls_range);
|
/external/selinux/libsemanage/include/semanage/ |
D | context_record.h | 40 const char *mls_range);
|
D | seuser_record.h | 50 const char *mls_range);
|
D | user_record.h | 58 const char *mls_range);
|
/external/selinux/policycoreutils/sepolicy/sepolicy/ |
D | gui.py | 1926 mls_range = self.login_mls_entry.get_text() 1936 …self.cur_dict["login"][name] = { "action": "-m", "range": mls_range, "seuser": seuser, "oldrange":… 1939 self.cur_dict["login"][name] = { "action": "-a", "range": mls_range, "seuser": seuser } 1943 self.liststore.set_value(iter,2, mls_range) 1951 mls_range = self.user_mls_entry.get_text() 1963 …self.cur_dict["user"][name] = { "action": "-m", "range": mls_range, "level": level, "role":roles, … 1966 … self.cur_dict["user"][name] = { "action": "-a", "range": mls_range, "level": level, "role": roles} 1971 self.liststore.set_value(iter, 3, mls_range)
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 2509 …velrange_to_mls_range(policydb_t *pdb, struct cil_levelrange *cil_lvlrange, mls_range_t *mls_range) in __cil_levelrange_to_mls_range() argument 2516 mls_level = &mls_range->level[0]; in __cil_levelrange_to_mls_range() 2523 mls_level = &mls_range->level[1]; in __cil_levelrange_to_mls_range() 2647 struct mls_range *o_range = NULL; in cil_rangetransition_to_policydb()
|