Searched refs:SOCK_PASSCRED (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/include/net/ |
D | scm.h | 117 if (test_bit(SOCK_PASSCRED, &sock->flags) || scm->fp) in scm_recv() 123 if (test_bit(SOCK_PASSCRED, &sock->flags)) { in scm_recv()
|
/Linux-v6.1/net/unix/ |
D | af_unix.c | 1363 if (test_bit(SOCK_PASSCRED, &sock->flags) && in unix_dgram_connect() 1471 if (test_bit(SOCK_PASSCRED, &sock->flags) && !u->addr) { in unix_stream_connect() 1670 if (test_bit(SOCK_PASSCRED, &old->flags)) in unix_sock_inherit_flags() 1671 set_bit(SOCK_PASSCRED, &new->flags); in unix_sock_inherit_flags() 1820 return test_bit(SOCK_PASSCRED, &sock->flags) || in unix_passcred_enabled() 1822 test_bit(SOCK_PASSCRED, &other->sk_socket->flags); in unix_passcred_enabled() 1924 if (test_bit(SOCK_PASSCRED, &sock->flags) && !u->addr) { in unix_dgram_sendmsg() 2813 } else if (test_bit(SOCK_PASSCRED, &sock->flags)) { in unix_stream_read_generic()
|
/Linux-v6.1/include/linux/ |
D | net.h | 42 #define SOCK_PASSCRED 3 macro
|
/Linux-v6.1/net/core/ |
D | sock.c | 1237 set_bit(SOCK_PASSCRED, &sock->flags); in sk_setsockopt() 1239 clear_bit(SOCK_PASSCRED, &sock->flags); in sk_setsockopt() 1728 v.val = !!test_bit(SOCK_PASSCRED, &sock->flags); in sk_getsockopt()
|