Lines Matching refs:cond

163 		     const char **name, struct path_cond *cond, u32 request)  in path_name()  argument
175 NULL, NULL, cond->uid, info, error)); in path_name()
194 aa_state_t state, struct path_cond *cond) in aa_lookup_fperms() argument
201 if (uid_eq(current_fsuid(), cond->uid)) in aa_lookup_fperms()
218 const char *name, struct path_cond *cond, in aa_str_perms() argument
223 *perms = *(aa_lookup_fperms(file_rules, state, cond)); in aa_str_perms()
230 u32 request, struct path_cond *cond, int flags, in __aa_path_perm() argument
240 name, cond, perms); in __aa_path_perm()
245 cond->uid, NULL, e); in __aa_path_perm()
252 struct path_cond *cond, int flags, in profile_path_perm() argument
262 flags | profile->path_flags, buffer, &name, cond, in profile_path_perm()
266 return __aa_path_perm(op, subj_cred, profile, name, request, cond, in profile_path_perm()
285 struct path_cond *cond) in aa_path_perm() argument
292 flags |= PATH_DELEGATE_DELETED | (S_ISDIR(cond->mode) ? PATH_IS_DIR : in aa_path_perm()
299 request, cond, flags, &perms)); in aa_path_perm()
330 struct path_cond *cond) in profile_path_link() argument
343 buffer, &lname, cond, AA_MAY_LINK); in profile_path_link()
350 buffer2, &tname, cond, AA_MAY_LINK); in profile_path_link()
358 cond, &lperms); in profile_path_link()
365 aa_str_perms(&(rules->file), state, tname, cond, &perms); in profile_path_link()
388 tname, cond, &perms); in profile_path_link()
411 NULL, cond->uid, info, error); in profile_path_link()
439 struct path_cond cond = { in aa_path_link() local
456 &target, buffer2, &cond)); in aa_path_link()
493 struct path_cond cond = { in __file_path_perm() local
505 flags = PATH_DELEGATE_DELETED | (S_ISDIR(cond.mode) ? PATH_IS_DIR : 0); in __file_path_perm()
514 request, &cond, flags, &perms)); in __file_path_perm()
528 buffer, request, &cond, flags, in __file_path_perm()
534 buffer, request, &cond, flags, in __file_path_perm()