Searched refs:mls_level (Results 1 - 3 of 3) sorted by relevance

/external/libsepol/include/sepol/policydb/
H A Dmls_types.h39 typedef struct mls_level { struct
48 static inline int mls_level_cpy(struct mls_level *dst, struct mls_level *src)
57 static inline void mls_level_init(struct mls_level *level)
63 static inline void mls_level_destroy(struct mls_level *level)
73 static inline int mls_level_eq(const struct mls_level *l1, const struct mls_level *l2)
78 static inline int mls_level_dom(const struct mls_level *l1, const struct mls_level *l2)
/external/libsepol/src/
H A Duser_record.c13 char *mls_level; member in struct:sepol_user
116 return user->mls_level;
122 sepol_user_t * user, const char *mls_level)
125 char *tmp_mls_level = strdup(mls_level);
131 free(user->mls_level);
132 user->mls_level = tmp_mls_level;
316 user->mls_level = NULL;
344 if (user->mls_level &&
345 (sepol_user_set_mlslevel(handle, new_user, user->mls_level) < 0))
374 free(user->mls_level);
[all...]
/external/libsepol/include/sepol/
H A Duser_record.h41 sepol_user_t * user, const char *mls_level);

Completed in 105 milliseconds