Lines Matching refs:dfa
213 struct aa_perms aa_compute_fperms(struct aa_dfa *dfa, unsigned int state, in aa_compute_fperms() argument
224 perms.allow = map_old_perms(dfa_user_allow(dfa, state)); in aa_compute_fperms()
225 perms.audit = map_old_perms(dfa_user_audit(dfa, state)); in aa_compute_fperms()
226 perms.quiet = map_old_perms(dfa_user_quiet(dfa, state)); in aa_compute_fperms()
227 perms.xindex = dfa_user_xindex(dfa, state); in aa_compute_fperms()
229 perms.allow = map_old_perms(dfa_other_allow(dfa, state)); in aa_compute_fperms()
230 perms.audit = map_old_perms(dfa_other_audit(dfa, state)); in aa_compute_fperms()
231 perms.quiet = map_old_perms(dfa_other_quiet(dfa, state)); in aa_compute_fperms()
232 perms.xindex = dfa_other_xindex(dfa, state); in aa_compute_fperms()
237 if (ACCEPT_TABLE(dfa)[state] & 0x80000000) in aa_compute_fperms()
239 if (ACCEPT_TABLE(dfa)[state] & 0x40000000) in aa_compute_fperms()
255 unsigned int aa_str_perms(struct aa_dfa *dfa, unsigned int start, in aa_str_perms() argument
260 state = aa_dfa_match(dfa, start, name); in aa_str_perms()
261 *perms = aa_compute_fperms(dfa, state, cond); in aa_str_perms()
274 aa_str_perms(profile->file.dfa, profile->file.start, name, cond, perms); in __aa_path_perm()
381 state = aa_str_perms(profile->file.dfa, profile->file.start, lname, in profile_path_link()
388 state = aa_dfa_null_transition(profile->file.dfa, state); in profile_path_link()
389 aa_str_perms(profile->file.dfa, state, tname, cond, &perms); in profile_path_link()
411 aa_str_perms(profile->file.dfa, profile->file.start, tname, cond, in profile_path_link()