Searched refs:xmatch (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/security/apparmor/ |
D | policy_compat.c | 174 static struct aa_perms *compute_xmatch_perms(struct aa_dfa *xmatch, in compute_xmatch_perms() argument 181 AA_BUG(!xmatch); in compute_xmatch_perms() 183 state_count = xmatch->tables[YYTD_ID_BASE]->td_lolen; in compute_xmatch_perms() 192 perms[state].allow = dfa_user_allow(xmatch, state); in compute_xmatch_perms()
|
D | domain.c | 320 state = aa_dfa_outofband_transition(attach->xmatch->dfa, state); in aa_xattrs_match() 334 state = aa_dfa_null_transition(attach->xmatch->dfa, in aa_xattrs_match() 337 state = aa_dfa_match_len(attach->xmatch->dfa, state, in aa_xattrs_match() 339 index = ACCEPT_TABLE(attach->xmatch->dfa)[state]; in aa_xattrs_match() 340 perm = attach->xmatch->perms[index].allow; in aa_xattrs_match() 347 state = aa_dfa_outofband_transition(attach->xmatch->dfa, state); in aa_xattrs_match() 416 if (attach->xmatch->dfa) { in find_attach() 421 state = aa_dfa_leftmatch(attach->xmatch->dfa, in find_attach() 422 attach->xmatch->start[AA_CLASS_XMATCH], in find_attach() 424 index = ACCEPT_TABLE(attach->xmatch->dfa)[state]; in find_attach() [all …]
|
D | policy_unpack.c | 871 error = unpack_pdb(e, &profile->attach.xmatch, false, false, &info); in unpack_profile() 878 if (profile->attach.xmatch->dfa) { in unpack_profile() 884 profile->attach.xmatch->start[AA_CLASS_XMATCH] = DFA_START; in unpack_profile() 885 if (!profile->attach.xmatch->perms) { in unpack_profile() 886 error = aa_compat_map_xmatch(profile->attach.xmatch); in unpack_profile() 1273 if (!verify_perms(profile->attach.xmatch)) { in verify_profile()
|
D | policy.c | 240 aa_put_pdb(attach->xmatch); in free_attachment()
|
D | apparmorfs.c | 1099 else if (profile->attach.xmatch->dfa) in seq_profile_attach_show()
|
/linux-6.12.1/security/apparmor/include/ |
D | policy.h | 188 struct aa_policydb *xmatch; member
|