Lines Matching defs:dfa
127 * map old dfa inline permissions to new format
129 #define dfa_user_allow(dfa, state) (((ACCEPT_TABLE(dfa)[state]) & 0x7f) | \
130 ((ACCEPT_TABLE(dfa)[state]) & 0x80000000))
131 #define dfa_user_audit(dfa, state) ((ACCEPT_TABLE2(dfa)[state]) & 0x7f)
132 #define dfa_user_quiet(dfa, state) (((ACCEPT_TABLE2(dfa)[state]) >> 7) & 0x7f)
133 #define dfa_user_xindex(dfa, state) \
134 (dfa_map_xindex(ACCEPT_TABLE(dfa)[state] & 0x3fff))
136 #define dfa_other_allow(dfa, state) ((((ACCEPT_TABLE(dfa)[state]) >> 14) & \
138 ((ACCEPT_TABLE(dfa)[state]) & 0x80000000))
139 #define dfa_other_audit(dfa, state) (((ACCEPT_TABLE2(dfa)[state]) >> 14) & 0x7f)
140 #define dfa_other_quiet(dfa, state) \
141 ((((ACCEPT_TABLE2(dfa)[state]) >> 7) >> 14) & 0x7f)
142 #define dfa_other_xindex(dfa, state) \
143 dfa_map_xindex((ACCEPT_TABLE(dfa)[state] >> 14) & 0x3fff)
151 * @dfa: dfa to match path names and conditionals against
152 * @perms: permission table indexed by the matched state accept entry of @dfa
155 * File permission are determined by matching a path against @dfa and then
162 struct aa_dfa *dfa;
168 unsigned int aa_str_perms(struct aa_dfa *dfa, unsigned int start,
183 aa_put_dfa(rules->dfa);