Home
last modified time | relevance | path

Searched refs:mls_level (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/security/selinux/ss/
Dmls_types.h20 struct mls_level { struct
26 struct mls_level level[2]; /* low == level[0], high == level[1] */ argument
29 static inline int mls_level_eq(const struct mls_level *l1, in mls_level_eq()
30 const struct mls_level *l2) in mls_level_eq()
35 static inline int mls_level_dom(const struct mls_level *l1, in mls_level_dom()
36 const struct mls_level *l2) in mls_level_dom()
Dmls.c158 int mls_level_isvalid(struct policydb *p, struct mls_level *l) in mls_level_isvalid()
399 struct mls_level *fromcon_sen = &(fromcon->range.level[0]); in mls_setup_user_range()
400 struct mls_level *fromcon_clr = &(fromcon->range.level[1]); in mls_setup_user_range()
401 struct mls_level *user_low = &(user->range.level[0]); in mls_setup_user_range()
402 struct mls_level *user_clr = &(user->range.level[1]); in mls_setup_user_range()
403 struct mls_level *user_def = &(user->dfltlevel); in mls_setup_user_range()
404 struct mls_level *usercon_sen = &(usercon->range.level[0]); in mls_setup_user_range()
405 struct mls_level *usercon_clr = &(usercon->range.level[1]); in mls_setup_user_range()
Dpolicydb.h124 struct mls_level dfltlevel; /* default login MLS level for user */
129 struct mls_level *level; /* sensitivity and associated categories */
Dmls.h32 int mls_level_isvalid(struct policydb *p, struct mls_level *l);
Dservices.c273 struct mls_level *l1, *l2; in constraint_expr_eval()
3643 struct mls_level *level; in selinux_audit_rule_match()
Dpolicydb.c1520 static int mls_read_level(struct mls_level *lp, void *fp) in mls_read_level()
2765 static int mls_write_level(struct mls_level *l, void *fp) in mls_write_level()