Home
last modified time | relevance | path

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

/linux-6.15/include/net/
H A Dscm.h176 if (test_bit(SOCK_PASSCRED, &sock->flags) || in __scm_recv_common()
184 if (test_bit(SOCK_PASSCRED, &sock->flags)) { in __scm_recv_common()
/linux-6.15/include/linux/
H A Dnet.h42 #define SOCK_PASSCRED 3 macro
/linux-6.15/net/unix/
H A Daf_unix.c1422 if ((test_bit(SOCK_PASSCRED, &sock->flags) || in unix_dgram_connect()
1542 if ((test_bit(SOCK_PASSCRED, &sock->flags) || in unix_stream_connect()
1723 if (test_bit(SOCK_PASSCRED, &old->flags)) in unix_sock_inherit_flags()
1724 set_bit(SOCK_PASSCRED, &new->flags); in unix_sock_inherit_flags()
1891 return test_bit(SOCK_PASSCRED, &sock->flags) || in unix_passcred_enabled()
1894 test_bit(SOCK_PASSCRED, &other->sk_socket->flags) || in unix_passcred_enabled()
1985 if ((test_bit(SOCK_PASSCRED, &sock->flags) || in unix_dgram_sendmsg()
2857 } else if (test_bit(SOCK_PASSCRED, &sock->flags) || in unix_stream_read_generic()
/linux-6.15/net/core/
H A Dsock.c1227 assign_bit(SOCK_PASSCRED, &sock->flags, valbool); in sk_setsockopt()
1856 v.val = !!test_bit(SOCK_PASSCRED, &sock->flags); in sk_getsockopt()