Home
last modified time | relevance | path

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

/linux/net/unix/
H A Daf_unix.c285 return !unix_peer(osk) || unix_peer(osk) == sk; in unix_may_send()
298 peer = unix_peer(s); in unix_peer_get()
628 if (!sock_flag(other, SOCK_DEAD) && unix_peer(other) == sk) { in unix_dgram_disconnected()
686 skpair = unix_peer(sk); in unix_release_sock()
687 unix_peer(sk) = NULL; in unix_release_sock()
1569 if (unix_peer(sk)) { in unix_dgram_connect()
1570 struct sock *old_peer = unix_peer(sk); in unix_dgram_connect()
1572 unix_peer(sk) = other; in unix_dgram_connect()
1583 if (!unix_peer(old_peer)) in unix_dgram_connect()
1590 unix_peer(sk) = other; in unix_dgram_connect()
[all …]
H A Dunix_bpf.c187 sk_pair = unix_peer(sk); in unix_stream_bpf_update_proto()
H A Ddiag.c79 buf[i++] = sock_i_ino(unix_peer(skb->sk)); in sk_diag_dump_icons()
/linux/include/net/
H A Daf_unix.h58 #define unix_peer(sk) (unix_sk(sk)->peer) macro
/linux/security/apparmor/include/
H A Daf_unix.h22 #define unix_peer(sk) (unix_sk(sk)->peer) macro
/linux/security/landlock/
H A Dtask.c312 if (unix_peer(sock->sk) == other->sk) in hook_unix_may_send()
/linux/security/apparmor/
H A Daf_unix.c732 peer_sk = unix_peer(sock->sk); in aa_unix_file_perm()
/linux/fs/
H A Dcoredump.c723 if (WARN_ON_ONCE(unix_peer(socket->sk)->sk_peer_pid != cprm->pid)) in coredump_sock_connect()