/external/selinux/libsemanage/src/ |
seuser_record.c | 31 char *mls_range; member in struct:semanage_seuser 164 return seuser->mls_range; 171 const char *mls_range) 174 char *tmp_mls_range = strdup(mls_range); 179 free(seuser->mls_range); 180 seuser->mls_range = tmp_mls_range; 201 seuser->mls_range = NULL; 226 if (seuser->mls_range && 227 (semanage_seuser_set_mlsrange(handle, new_seuser, seuser->mls_range) 251 free(seuser->mls_range); [all...] |
seusers_local.c | 126 const char *mls_range = semanage_seuser_get_mlsrange(data); local 139 if (!mls_range && semanage_mls_enabled(handle)) { 149 mls_range = semanage_user_get_mlsrange(u); 150 rc = semanage_seuser_set_mlsrange(handle, new, mls_range); 252 const char *mls_range = semanage_seuser_get_mlsrange(seuser); local 267 if (mls_range && sepol_policydb_mls_enabled(policydb)) { 273 if (sepol_mls_check(handle->sepolh, policydb, mls_range) < 0) 276 user_mls_range, mls_range, &mls_ok) < 0) 282 mls_range, name, user_mls_range, sename); 286 } else if (mls_range) { [all...] |
context_record.c | 61 semanage_context_t * con, const char *mls_range) 64 return sepol_context_set_mls(handle->sepolh, con, mls_range);
|
users_base_file.c | 32 const char *mls_range = semanage_user_base_get_mlsrange(user); local 49 if (mls_level != NULL && mls_range != NULL) 50 if (fprintf(str, "level %s range %s", mls_level, mls_range) < 0)
|
user_base_record.c | 99 const char *mls_range) 102 return sepol_user_set_mlsrange(handle->sepolh, user, mls_range);
|
user_internal.h | 110 const char *mls_range);
|
user_record.c | 172 semanage_user_t * user, const char *mls_range) 175 return semanage_user_base_set_mlsrange(handle, user->base, mls_range);
|
/external/selinux/libsepol/include/sepol/policydb/ |
mls_types.h | 46 typedef struct mls_range { struct 113 static inline void mls_range_init(struct mls_range *r) 119 static inline void mls_range_destroy(struct mls_range *r) 125 static inline int mls_range_eq(struct mls_range *r1, struct mls_range *r2)
|
/external/selinux/libsepol/src/ |
user_record.c | 16 char *mls_range; member in struct:sepol_user 141 return user->mls_range; 147 sepol_user_t * user, const char *mls_range) 150 char *tmp_mls_range = strdup(mls_range); 156 free(user->mls_range); 157 user->mls_range = tmp_mls_range; 317 user->mls_range = NULL; 348 if (user->mls_range && 349 (sepol_user_set_mlsrange(handle, new_user, user->mls_range) < 0)) 375 free(user->mls_range); [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/diff/ |
users.py | 70 left_range_wrap = RangeWrapper(left_user.mls_range) 72 left_range = left_user.mls_range 81 right_range_wrap = RangeWrapper(right_user.mls_range) 83 right_range = right_user.mls_range
|
/external/selinux/libsemanage/include/semanage/ |
context_record.h | 40 const char *mls_range);
|
seuser_record.h | 50 const char *mls_range);
|
user_record.h | 58 const char *mls_range);
|
/external/selinux/libsepol/include/sepol/ |
context_record.h | 37 sepol_context_t * con, const char *mls_range);
|
user_record.h | 49 sepol_user_t * user, const char *mls_range);
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/policyrep/ |
user.py | 69 def mls_range(self): member in class:User 82 stmt += " level {0.mls_level} range {0.mls_range};".format(self)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/ |
userquery.py | 108 user.mls_range,
|
/external/selinux/policycoreutils/sepolicy/sepolicy/ |
gui.py | [all...] |
/external/selinux/libsepol/cil/src/ |
cil_binary.c | [all...] |