Lines Matching refs:dfa
215 struct aa_perms aa_compute_fperms(struct aa_dfa *dfa, unsigned int state, in aa_compute_fperms() argument
226 perms.allow = map_old_perms(dfa_user_allow(dfa, state)); in aa_compute_fperms()
227 perms.audit = map_old_perms(dfa_user_audit(dfa, state)); in aa_compute_fperms()
228 perms.quiet = map_old_perms(dfa_user_quiet(dfa, state)); in aa_compute_fperms()
229 perms.xindex = dfa_user_xindex(dfa, state); in aa_compute_fperms()
231 perms.allow = map_old_perms(dfa_other_allow(dfa, state)); in aa_compute_fperms()
232 perms.audit = map_old_perms(dfa_other_audit(dfa, state)); in aa_compute_fperms()
233 perms.quiet = map_old_perms(dfa_other_quiet(dfa, state)); in aa_compute_fperms()
234 perms.xindex = dfa_other_xindex(dfa, state); in aa_compute_fperms()
239 if (ACCEPT_TABLE(dfa)[state] & 0x80000000) in aa_compute_fperms()
241 if (ACCEPT_TABLE(dfa)[state] & 0x40000000) in aa_compute_fperms()
257 unsigned int aa_str_perms(struct aa_dfa *dfa, unsigned int start, in aa_str_perms() argument
262 state = aa_dfa_match(dfa, start, name); in aa_str_perms()
263 *perms = aa_compute_fperms(dfa, state, cond); in aa_str_perms()
276 aa_str_perms(profile->file.dfa, profile->file.start, name, cond, perms); in __aa_path_perm()
383 state = aa_str_perms(profile->file.dfa, profile->file.start, lname, in profile_path_link()
390 state = aa_dfa_null_transition(profile->file.dfa, state); in profile_path_link()
391 aa_str_perms(profile->file.dfa, state, tname, cond, &perms); in profile_path_link()
413 aa_str_perms(profile->file.dfa, profile->file.start, tname, cond, in profile_path_link()