Searched refs:SOCK_PASSCRED (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/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-v4.19/net/unix/ |
D | af_unix.c | 1120 if (test_bit(SOCK_PASSCRED, &sock->flags) && in unix_dgram_connect() 1221 if (test_bit(SOCK_PASSCRED, &sock->flags) && !u->addr && in unix_stream_connect() 1400 if (test_bit(SOCK_PASSCRED, &old->flags)) in unix_sock_inherit_flags() 1401 set_bit(SOCK_PASSCRED, &new->flags); in unix_sock_inherit_flags() 1567 return test_bit(SOCK_PASSCRED, &sock->flags) || in unix_passcred_enabled() 1569 test_bit(SOCK_PASSCRED, &other->sk_socket->flags); in unix_passcred_enabled() 1660 if (test_bit(SOCK_PASSCRED, &sock->flags) && !u->addr in unix_dgram_sendmsg() 2351 } else if (test_bit(SOCK_PASSCRED, &sock->flags)) { in unix_stream_read_generic()
|
/Linux-v4.19/include/linux/ |
D | net.h | 44 #define SOCK_PASSCRED 3 macro
|
/Linux-v4.19/net/core/ |
D | sock.c | 810 set_bit(SOCK_PASSCRED, &sock->flags); in sock_setsockopt() 812 clear_bit(SOCK_PASSCRED, &sock->flags); in sock_setsockopt() 1225 v.val = !!test_bit(SOCK_PASSCRED, &sock->flags); in sock_getsockopt()
|