/linux-6.12.1/security/apparmor/include/ |
D | match.h | 122 #define aa_state_t unsigned int macro 125 aa_state_t aa_dfa_match_len(struct aa_dfa *dfa, aa_state_t start, 127 aa_state_t aa_dfa_match(struct aa_dfa *dfa, aa_state_t start, 129 aa_state_t aa_dfa_next(struct aa_dfa *dfa, aa_state_t state, const char c); 130 aa_state_t aa_dfa_outofband_transition(struct aa_dfa *dfa, aa_state_t state); 131 aa_state_t aa_dfa_match_until(struct aa_dfa *dfa, aa_state_t start, 133 aa_state_t aa_dfa_matchn_until(struct aa_dfa *dfa, aa_state_t start, 153 aa_state_t aa_dfa_leftmatch(struct aa_dfa *dfa, aa_state_t start,
|
D | policy.h | 92 aa_state_t start[AA_CLASS_LAST + 1]; 128 aa_state_t state) in aa_lookup_perms() 292 static inline aa_state_t RULE_MEDIATES(struct aa_ruleset *rules, in RULE_MEDIATES() 302 static inline aa_state_t RULE_MEDIATES_AF(struct aa_ruleset *rules, u16 AF) in RULE_MEDIATES_AF() 304 aa_state_t state = RULE_MEDIATES(rules, AA_CLASS_NET); in RULE_MEDIATES_AF() 312 static inline aa_state_t ANY_RULE_MEDIATES(struct list_head *head, in ANY_RULE_MEDIATES()
|
D | file.h | 81 aa_state_t state, struct path_cond *cond); 82 aa_state_t aa_str_perms(struct aa_policydb *file_rules, aa_state_t start,
|
D | lib.h | 92 static inline aa_state_t aa_dfa_null_transition(struct aa_dfa *dfa, in aa_dfa_null_transition() 93 aa_state_t start) in aa_dfa_null_transition()
|
D | label.h | 336 aa_state_t state; in aa_label_strn_split() 348 aa_state_t state; in aa_label_str_split() 362 struct aa_label *label, aa_state_t state, bool subns,
|
/linux-6.12.1/security/apparmor/ |
D | match.c | 395 aa_state_t aa_dfa_match_len(struct aa_dfa *dfa, aa_state_t start, in aa_dfa_match_len() 402 aa_state_t state = start; in aa_dfa_match_len() 435 aa_state_t aa_dfa_match(struct aa_dfa *dfa, aa_state_t start, const char *str) in aa_dfa_match() 441 aa_state_t state = start; in aa_dfa_match() 473 aa_state_t aa_dfa_next(struct aa_dfa *dfa, aa_state_t state, const char c) in aa_dfa_next() 491 aa_state_t aa_dfa_outofband_transition(struct aa_dfa *dfa, aa_state_t state) in aa_dfa_outofband_transition() 521 aa_state_t aa_dfa_match_until(struct aa_dfa *dfa, aa_state_t start, in aa_dfa_match_until() 529 aa_state_t state = start, pos; in aa_dfa_match_until() 582 aa_state_t aa_dfa_matchn_until(struct aa_dfa *dfa, aa_state_t start, in aa_dfa_matchn_until() 590 aa_state_t state = start, pos; in aa_dfa_matchn_until() [all …]
|
D | policy_compat.c | 101 aa_state_t state) in compute_fperms_allow() 113 aa_state_t state) in compute_fperms_user() 128 aa_state_t state) in compute_fperms_other() 153 aa_state_t state; in compute_fperms() 211 aa_state_t state, in compute_perms_entry()
|
D | domain.c | 87 static inline aa_state_t match_component(struct aa_profile *profile, in match_component() 89 bool stack, aa_state_t state) in match_component() 126 aa_state_t state, bool subns, u32 request, in label_compound_match() 188 aa_state_t start, bool subns, u32 request, in label_components_match() 197 aa_state_t state = 0; in label_components_match() 250 bool stack, aa_state_t state, bool subns, u32 request, in label_match() 285 u32 request, aa_state_t start, in change_profile_perms() 307 struct aa_profile *profile, aa_state_t state) in aa_xattrs_match() 418 aa_state_t state; in find_attach() 641 aa_state_t state = rules->file->start[AA_CLASS_FILE]; in profile_transition() [all …]
|
D | mount.c | 199 static aa_state_t match_mnt_flags(struct aa_dfa *dfa, aa_state_t state, in match_mnt_flags() 226 static int do_match_mnt(struct aa_policydb *policy, aa_state_t start, in do_match_mnt() 231 aa_state_t state; in do_match_mnt() 611 aa_state_t state; in profile_umount() 676 aa_state_t state; in build_pivotroot()
|
D | file.c | 181 aa_state_t state, struct path_cond *cond) in aa_lookup_fperms() 204 aa_state_t aa_str_perms(struct aa_policydb *file_rules, aa_state_t start, in aa_str_perms() 208 aa_state_t state; in aa_str_perms() 325 aa_state_t state; in profile_path_link()
|
D | ipc.c | 86 aa_state_t state; in profile_signal_perm()
|
D | label.c | 1265 static inline aa_state_t match_component(struct aa_profile *profile, in match_component() 1268 aa_state_t state) in match_component() 1302 aa_state_t state, bool subns, u32 request, in label_compound_match() 1361 struct aa_label *label, aa_state_t start, in label_components_match() 1368 aa_state_t state = 0; in label_components_match() 1421 struct aa_label *label, aa_state_t state, bool subns, in aa_label_match()
|
D | task.c | 330 aa_state_t state; in aa_profile_ns_perm()
|
D | net.c | 116 aa_state_t state; in aa_profile_af_perm()
|
D | lib.c | 343 aa_state_t state; in aa_profile_match_label()
|
D | apparmorfs.c | 618 aa_state_t state = DFA_NOMATCH; in profile_query_cb()
|