/external/selinux/libsemanage/src/ |
seuser_record.c | 31 char *mls_range; member in struct:semanage_seuser 169 return seuser->mls_range; 176 const char *mls_range) 179 char *tmp_mls_range = strdup(mls_range); 184 free(seuser->mls_range); 185 seuser->mls_range = tmp_mls_range; 206 seuser->mls_range = NULL; 231 if (seuser->mls_range && 232 (semanage_seuser_set_mlsrange(handle, new_seuser, seuser->mls_range) 256 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 | 47 typedef struct mls_range { struct 114 static inline void mls_range_init(struct mls_range *r) 120 static inline void mls_range_destroy(struct mls_range *r) 126 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 147 return user->mls_range; 153 sepol_user_t * user, const char *mls_range) 156 char *tmp_mls_range = strdup(mls_range); 162 free(user->mls_range); 163 user->mls_range = tmp_mls_range; 323 user->mls_range = NULL; 354 if (user->mls_range && 355 (sepol_user_set_mlsrange(handle, new_user, user->mls_range) < 0)) 381 free(user->mls_range); [all...] |
mls.c | 614 struct mls_range *r;
|
policydb.c | 1362 struct mls_range *rt = (struct mls_range *)datum; [all...] |
write.c | [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 | 38 sepol_context_t * con, const char *mls_range);
|
user_record.h | 50 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 | 114 user.mls_range,
|
/external/selinux/python/sepolicy/sepolicy/ |
gui.py | [all...] |
__init__.py | 220 'range': str(x.mls_range), [all...] |
/external/selinux/libsepol/cil/src/ |
cil_binary.c | [all...] |