Home
last modified time | relevance | path

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

/linux-6.3-rc2/security/apparmor/
A Dpolicy_compat.c171 static struct aa_perms *compute_xmatch_perms(struct aa_dfa *xmatch) in compute_xmatch_perms() argument
177 AA_BUG(!xmatch); in compute_xmatch_perms()
179 state_count = xmatch->tables[YYTD_ID_BASE]->td_lolen; in compute_xmatch_perms()
185 perms[state].allow = dfa_user_allow(xmatch, state); in compute_xmatch_perms()
A Ddomain.c312 state = aa_dfa_outofband_transition(attach->xmatch.dfa, state); in aa_xattrs_match()
326 state = aa_dfa_null_transition(attach->xmatch.dfa, in aa_xattrs_match()
329 state = aa_dfa_match_len(attach->xmatch.dfa, state, in aa_xattrs_match()
331 index = ACCEPT_TABLE(attach->xmatch.dfa)[state]; in aa_xattrs_match()
332 perm = attach->xmatch.perms[index].allow; in aa_xattrs_match()
339 state = aa_dfa_outofband_transition(attach->xmatch.dfa, state); in aa_xattrs_match()
408 if (attach->xmatch.dfa) { in find_attach()
413 state = aa_dfa_leftmatch(attach->xmatch.dfa, in find_attach()
414 attach->xmatch.start[AA_CLASS_XMATCH], in find_attach()
416 index = ACCEPT_TABLE(attach->xmatch.dfa)[state]; in find_attach()
[all …]
A Dpolicy_unpack.c849 error = unpack_pdb(e, &profile->attach.xmatch, false, false, &info); in unpack_profile()
856 if (profile->attach.xmatch.dfa) { in unpack_profile()
862 profile->attach.xmatch.start[AA_CLASS_XMATCH] = DFA_START; in unpack_profile()
863 error = aa_compat_map_xmatch(&profile->attach.xmatch); in unpack_profile()
1234 if (!verify_perms(&profile->attach.xmatch)) { in verify_profile()
A Dpolicy.c203 aa_destroy_policydb(&attach->xmatch); in free_attachment()
A Dapparmorfs.c1098 else if (profile->attach.xmatch.dfa) in seq_profile_attach_show()
/linux-6.3-rc2/security/apparmor/include/
A Dpolicy.h162 struct aa_policydb xmatch; member

Completed in 17 milliseconds