Home
last modified time | relevance | path

Searched refs:SOCK_PASSCRED (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/include/net/
Dscm.h127 if (test_bit(SOCK_PASSCRED, &sock->flags) || scm->fp || in scm_recv()
134 if (test_bit(SOCK_PASSCRED, &sock->flags)) { in scm_recv()
/kernel/linux/linux-5.10/net/unix/
Daf_unix.c1168 if (test_bit(SOCK_PASSCRED, &sock->flags) && in unix_dgram_connect()
1270 if (test_bit(SOCK_PASSCRED, &sock->flags) && !u->addr && in unix_stream_connect()
1463 if (test_bit(SOCK_PASSCRED, &old->flags)) in unix_sock_inherit_flags()
1464 set_bit(SOCK_PASSCRED, &new->flags); in unix_sock_inherit_flags()
1612 return test_bit(SOCK_PASSCRED, &sock->flags) || in unix_passcred_enabled()
1614 test_bit(SOCK_PASSCRED, &other->sk_socket->flags); in unix_passcred_enabled()
1723 if (test_bit(SOCK_PASSCRED, &sock->flags) && !u->addr in unix_dgram_sendmsg()
2420 } else if (test_bit(SOCK_PASSCRED, &sock->flags)) { in unix_stream_read_generic()
/kernel/linux/linux-5.10/include/linux/
Dnet.h42 #define SOCK_PASSCRED 3 macro
/kernel/linux/linux-5.10/net/core/
Dsock.c986 set_bit(SOCK_PASSCRED, &sock->flags); in sock_setsockopt()
988 clear_bit(SOCK_PASSCRED, &sock->flags); in sock_setsockopt()
1433 v.val = !!test_bit(SOCK_PASSCRED, &sock->flags); in sock_getsockopt()