Lines Matching refs:cond
195 struct path_cond *cond) in compute_perms() argument
206 if (uid_eq(current_fsuid(), cond->uid)) { in compute_perms()
239 const char *name, struct path_cond *cond, in aa_str_perms() argument
249 *perms = compute_perms(dfa, state, cond); in aa_str_perms()
279 int flags, u32 request, struct path_cond *cond) in aa_path_perm() argument
286 flags |= profile->path_flags | (S_ISDIR(cond->mode) ? PATH_IS_DIR : 0); in aa_path_perm()
298 aa_str_perms(profile->file.dfa, profile->file.start, name, cond, in aa_path_perm()
304 NULL, cond->uid, info, error); in aa_path_perm()
353 struct path_cond cond = { in aa_path_link() local
381 &cond, &lperms); in aa_path_link()
388 aa_str_perms(profile->file.dfa, state, tname, &cond, &perms); in aa_path_link()
409 aa_str_perms(profile->file.dfa, profile->file.start, tname, &cond, in aa_path_link()
432 lname, tname, cond.uid, info, error); in aa_path_link()
451 struct path_cond cond = { in aa_file_perm() local
457 request, &cond); in aa_file_perm()