Lines Matching refs:error
465 int error; in aa_unix_sock_perm() local
468 error = aa_unix_label_sk_perm(current_cred(), label, op, in aa_unix_sock_perm()
473 return error; in aa_unix_sock_perm()
492 int error = 0; in aa_unix_bind_perm() local
494 error = valid_addr(addr, addrlen); in aa_unix_bind_perm()
495 if (error) in aa_unix_bind_perm()
496 return error; in aa_unix_bind_perm()
506 error = fn_for_each_confined(label, profile, in aa_unix_bind_perm()
511 return error; in aa_unix_bind_perm()
531 int error = 0; in aa_unix_listen_perm() local
537 error = fn_for_each_confined(label, profile, in aa_unix_listen_perm()
543 return error; in aa_unix_listen_perm()
552 int error = 0; in aa_unix_accept_perm() local
558 error = fn_for_each_confined(label, profile, in aa_unix_accept_perm()
563 return error; in aa_unix_accept_perm()
585 int error = 0; in aa_unix_opt_perm() local
591 error = fn_for_each_confined(label, profile, in aa_unix_opt_perm()
597 return error; in aa_unix_opt_perm()
720 int error = 0; in aa_unix_file_perm() local
744 error = aa_unix_label_sk_perm(subj_cred, label, op, in aa_unix_file_perm()
757 last_error(error, in aa_unix_file_perm()
770 last_error(error, in aa_unix_file_perm()
785 if (!error && !__aa_subj_label_is_cached(plabel, label)) in aa_unix_file_perm()
793 if (error == 0) in aa_unix_file_perm()
797 return error; in aa_unix_file_perm()