Lines Matching refs:dfa
228 struct aa_perms aa_compute_fperms(struct aa_dfa *dfa, unsigned int state, in aa_compute_fperms() argument
239 perms.allow = map_old_perms(dfa_user_allow(dfa, state)); in aa_compute_fperms()
240 perms.audit = map_old_perms(dfa_user_audit(dfa, state)); in aa_compute_fperms()
241 perms.quiet = map_old_perms(dfa_user_quiet(dfa, state)); in aa_compute_fperms()
242 perms.xindex = dfa_user_xindex(dfa, state); in aa_compute_fperms()
244 perms.allow = map_old_perms(dfa_other_allow(dfa, state)); in aa_compute_fperms()
245 perms.audit = map_old_perms(dfa_other_audit(dfa, state)); in aa_compute_fperms()
246 perms.quiet = map_old_perms(dfa_other_quiet(dfa, state)); in aa_compute_fperms()
247 perms.xindex = dfa_other_xindex(dfa, state); in aa_compute_fperms()
252 if (ACCEPT_TABLE(dfa)[state] & 0x80000000) in aa_compute_fperms()
254 if (ACCEPT_TABLE(dfa)[state] & 0x40000000) in aa_compute_fperms()
270 unsigned int aa_str_perms(struct aa_dfa *dfa, unsigned int start, in aa_str_perms() argument
275 state = aa_dfa_match(dfa, start, name); in aa_str_perms()
276 *perms = aa_compute_fperms(dfa, state, cond); in aa_str_perms()
289 aa_str_perms(profile->file.dfa, profile->file.start, name, cond, perms); in __aa_path_perm()
394 state = aa_str_perms(profile->file.dfa, profile->file.start, lname, in profile_path_link()
401 state = aa_dfa_null_transition(profile->file.dfa, state); in profile_path_link()
402 aa_str_perms(profile->file.dfa, state, tname, cond, &perms); in profile_path_link()
424 aa_str_perms(profile->file.dfa, profile->file.start, tname, cond, in profile_path_link()