Home
last modified time | relevance | path

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

/linux-6.12.1/security/apparmor/
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 …]
Dmatch.c528 u32 *accept = ACCEPT_TABLE(dfa); in aa_dfa_match_until()
589 u32 *accept = ACCEPT_TABLE(dfa); in aa_dfa_matchn_until()
Ddomain.c339 index = ACCEPT_TABLE(attach->xmatch->dfa)[state]; in aa_xattrs_match()
424 index = ACCEPT_TABLE(attach->xmatch->dfa)[state]; in find_attach()
Dfile.c183 unsigned int index = ACCEPT_TABLE(file_rules->dfa)[state]; in aa_lookup_fperms()
Dpolicy_unpack.c1183 if (ACCEPT_TABLE(dfa)[i] >= table_size) in verify_dfa_accept_index()
/linux-6.12.1/security/apparmor/include/
Dmatch.h95 #define ACCEPT_TABLE(DFA) ((u32 *)((DFA)->tables[YYTD_ID_ACCEPT]->td_data)) macro
Dlabel.h339 if (!ACCEPT_TABLE(stacksplitdfa)[state]) in aa_label_strn_split()
351 if (!ACCEPT_TABLE(stacksplitdfa)[state]) in aa_label_str_split()
Dpolicy.h130 unsigned int index = ACCEPT_TABLE(policy->dfa)[state]; in aa_lookup_perms()