Home
last modified time | relevance | path

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

/linux-2.6.39/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(struct mls_level *l1, struct mls_level *l2) in mls_level_eq()
35 static inline int mls_level_dom(struct mls_level *l1, struct mls_level *l2) in mls_level_dom()
Dmls.c160 int mls_level_isvalid(struct policydb *p, struct mls_level *l) in mls_level_isvalid()
431 struct mls_level *fromcon_sen = &(fromcon->range.level[0]); in mls_setup_user_range()
432 struct mls_level *fromcon_clr = &(fromcon->range.level[1]); in mls_setup_user_range()
433 struct mls_level *user_low = &(user->range.level[0]); in mls_setup_user_range()
434 struct mls_level *user_clr = &(user->range.level[1]); in mls_setup_user_range()
435 struct mls_level *user_def = &(user->dfltlevel); in mls_setup_user_range()
436 struct mls_level *usercon_sen = &(usercon->range.level[0]); in mls_setup_user_range()
437 struct mls_level *usercon_clr = &(usercon->range.level[1]); in mls_setup_user_range()
Dpolicydb.h109 struct mls_level dfltlevel; /* default login MLS level for user */
115 struct mls_level *level; /* sensitivity and associated categories */
Dmls.h31 int mls_level_isvalid(struct policydb *p, struct mls_level *l);
Dpolicydb.c1392 static int mls_read_level(struct mls_level *lp, void *fp) in mls_read_level()
1500 levdatum->level = kmalloc(sizeof(struct mls_level), GFP_ATOMIC); in sens_read()
2411 static int mls_write_level(struct mls_level *l, void *fp) in mls_write_level()
Dservices.c280 struct mls_level *l1, *l2; in constraint_expr_eval()
2905 struct mls_level *level; in selinux_audit_rule_match()