Home
last modified time | relevance | path

Searched refs:ACCEPT_TABLE (Results 1 – 8 of 8) sorted by relevance

/linux-6.3-rc2/security/apparmor/
A Dpolicy_compat.c53 #define dfa_user_allow(dfa, state) (((ACCEPT_TABLE(dfa)[state]) & 0x7f) | \
54 ((ACCEPT_TABLE(dfa)[state]) & 0x80000000))
55 #define dfa_user_xbits(dfa, state) (((ACCEPT_TABLE(dfa)[state]) >> 7) & 0x7f)
59 (dfa_map_xindex(ACCEPT_TABLE(dfa)[state] & 0x3fff))
61 #define dfa_other_allow(dfa, state) ((((ACCEPT_TABLE(dfa)[state]) >> 14) & \
63 ((ACCEPT_TABLE(dfa)[state]) & 0x80000000))
65 ((((ACCEPT_TABLE(dfa)[state]) >> 7) >> 14) & 0x7f)
70 dfa_map_xindex((ACCEPT_TABLE(dfa)[state] >> 14) & 0x3fff)
106 if (ACCEPT_TABLE(dfa)[state] & 0x80000000) in compute_fperms_allow()
108 if (ACCEPT_TABLE(dfa)[state] & 0x40000000) in compute_fperms_allow()
[all …]
A Dmatch.c572 u32 *accept = ACCEPT_TABLE(dfa); in aa_dfa_match_until()
633 u32 *accept = ACCEPT_TABLE(dfa); in aa_dfa_matchn_until()
A Ddomain.c331 index = ACCEPT_TABLE(attach->xmatch.dfa)[state]; in aa_xattrs_match()
416 index = ACCEPT_TABLE(attach->xmatch.dfa)[state]; in find_attach()
A Dfile.c178 unsigned int index = ACCEPT_TABLE(file_rules->dfa)[state]; in aa_lookup_fperms()
A Dpolicy_unpack.c1152 if (!verify_xindex(ACCEPT_TABLE(dfa)[i], table_size)) in verify_dfa_xindex()
/linux-6.3-rc2/security/apparmor/include/
A Dmatch.h95 #define ACCEPT_TABLE(DFA) ((u32 *)((DFA)->tables[YYTD_ID_ACCEPT]->td_data)) macro
A Dlabel.h339 if (!ACCEPT_TABLE(stacksplitdfa)[state]) in aa_label_strn_split()
351 if (!ACCEPT_TABLE(stacksplitdfa)[state]) in aa_label_str_split()
A Dpolicy.h104 unsigned int index = ACCEPT_TABLE(policy->dfa)[state]; in aa_lookup_perms()

Completed in 17 milliseconds