Home
last modified time | relevance | path

Searched refs:peer (Results 1 – 8 of 8) sorted by relevance

/security/apparmor/
Dresource.c36 if (aad(sa)->peer) { in audit_cb()
38 aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, in audit_cb()
53 unsigned long value, struct aa_label *peer, in audit_resource() argument
60 aad(&sa)->peer = peer; in audit_resource()
108 struct aa_label *peer; in aa_task_setrlimit() local
112 peer = aa_get_newest_cred_label(__task_cred(task)); in aa_task_setrlimit()
122 if (label != peer && in aa_task_setrlimit()
126 new_rlim->rlim_max, peer, in aa_task_setrlimit()
131 aa_put_label(peer); in aa_task_setrlimit()
Dipc.c57 aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, in audit_ptrace_cb()
64 struct aa_label *peer, u32 request, in profile_ptrace_perm() argument
69 aad(sa)->peer = peer; in profile_ptrace_perm()
70 aa_profile_match_label(profile, peer, AA_CLASS_PTRACE, request, in profile_ptrace_perm()
102 aad(sa)->peer = tracee; in profile_tracer_perm()
183 aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, in audit_signal_cb()
188 struct aa_label *peer, u32 request, in profile_signal_perm() argument
198 aad(sa)->peer = peer; in profile_signal_perm()
203 aa_label_match(profile, peer, state, false, request, &perms); in profile_signal_perm()
Dlsm.c803 aa_put_label(ctx->peer); in apparmor_sk_free_security()
820 if (new->peer) in apparmor_sk_clone_security()
821 aa_put_label(new->peer); in apparmor_sk_clone_security()
822 new->peer = aa_get_label(ctx->peer); in apparmor_sk_clone_security()
1070 if (ctx->peer) in sk_peer_label()
1071 return ctx->peer; in sk_peer_label()
1089 struct aa_label *peer; in apparmor_socket_getpeersec_stream() local
1092 peer = sk_peer_label(sock->sk); in apparmor_socket_getpeersec_stream()
1093 if (IS_ERR(peer)) { in apparmor_socket_getpeersec_stream()
1094 error = PTR_ERR(peer); in apparmor_socket_getpeersec_stream()
[all …]
Dnet.c100 if (aad(sa)->peer) { in audit_net_cb()
102 aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, in audit_net_cb()
Dfile.c67 if (aad(sa)->peer) { in file_audit_cb()
69 aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, in file_audit_cb()
104 aad(&sa)->peer = tlabel; in aa_audit_file()
Dlib.c279 aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, in aa_audit_perms_cb()
402 aad(sa)->peer = &target->label; in aa_profile_label_perm()
/security/apparmor/include/
Dnet.h51 struct aa_label *peer; member
Daudit.h119 struct aa_label *peer; member