Searched refs:file_rules (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/security/apparmor/ |
D | file.c | 180 struct aa_perms *aa_lookup_fperms(struct aa_policydb *file_rules, in aa_lookup_fperms() argument 183 unsigned int index = ACCEPT_TABLE(file_rules->dfa)[state]; in aa_lookup_fperms() 185 if (!(file_rules->perms)) in aa_lookup_fperms() 189 return &(file_rules->perms[index]); in aa_lookup_fperms() 191 return &(file_rules->perms[index + 1]); in aa_lookup_fperms() 204 aa_state_t aa_str_perms(struct aa_policydb *file_rules, aa_state_t start, in aa_str_perms() argument 209 state = aa_dfa_match(file_rules->dfa, start, name); in aa_str_perms() 210 *perms = *(aa_lookup_fperms(file_rules, state, cond)); in aa_str_perms()
|
/linux-6.12.1/security/apparmor/include/ |
D | file.h | 80 struct aa_perms *aa_lookup_fperms(struct aa_policydb *file_rules, 82 aa_state_t aa_str_perms(struct aa_policydb *file_rules, aa_state_t start,
|