• Home
  • Raw
  • Download

Lines Matching refs:error

104 		  kuid_t ouid, const char *info, int error)  in aa_audit_file()  argument
116 aad(&sa)->error = error; in aa_audit_file()
119 if (likely(!aad(&sa)->error)) { in aa_audit_file()
146 return aad(&sa)->error; in aa_audit_file()
172 int error; in path_name() local
174 error = aa_path_name(path, flags, buffer, name, &info, in path_name()
176 if (error) { in path_name()
179 NULL, NULL, cond->uid, info, error)); in path_name()
180 return error; in path_name()
299 int error; in profile_path_perm() local
304 error = path_name(op, &profile->label, path, in profile_path_perm()
307 if (error) in profile_path_perm()
308 return error; in profile_path_perm()
331 int error; in aa_path_perm() local
336 error = fn_for_each_confined(label, profile, in aa_path_perm()
342 return error; in aa_path_perm()
375 int error; in profile_path_link() local
377 error = path_name(OP_LINK, &profile->label, link, profile->path_flags, in profile_path_link()
379 if (error) in profile_path_link()
383 error = path_name(OP_LINK, &profile->label, target, profile->path_flags, in profile_path_link()
385 if (error) in profile_path_link()
388 error = -EACCES; in profile_path_link()
439 error = 0; in profile_path_link()
443 NULL, cond->uid, info, error); in profile_path_link()
475 int error; in aa_path_link() local
479 error = fn_for_each_confined(label, profile, in aa_path_link()
484 return error; in aa_path_link()
519 int flags, error; in __file_path_perm() local
530 error = fn_for_each_not_in_set(flabel, label, profile, in __file_path_perm()
533 if (denied && !error) { in __file_path_perm()
543 error = fn_for_each(label, profile, in __file_path_perm()
548 error = fn_for_each_not_in_set(label, flabel, profile, in __file_path_perm()
553 if (!error) in __file_path_perm()
558 return error; in __file_path_perm()
566 int error; in __file_sock_perm() local
575 error = aa_sock_file_perm(label, op, request, sock); in __file_sock_perm()
579 last_error(error, aa_sock_file_perm(flabel, op, request, sock)); in __file_sock_perm()
581 if (!error) in __file_sock_perm()
584 return error; in __file_sock_perm()
602 int error = 0; in aa_file_perm() local
628 error = __file_path_perm(op, label, flabel, file, request, in aa_file_perm()
632 error = __file_sock_perm(op, label, flabel, file, request, in aa_file_perm()
637 return error; in aa_file_perm()