Home
last modified time | relevance | path

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

/openbmc/linux/include/net/
H A Dscm.h164 if (test_bit(SOCK_PASSCRED, &sock->flags) || in __scm_recv_common()
172 if (test_bit(SOCK_PASSCRED, &sock->flags)) { in __scm_recv_common()
/openbmc/linux/net/unix/
H A Daf_unix.c1370 if ((test_bit(SOCK_PASSCRED, &sock->flags) || in unix_dgram_connect()
1487 if ((test_bit(SOCK_PASSCRED, &sock->flags) || in unix_stream_connect()
1669 if (test_bit(SOCK_PASSCRED, &old->flags)) in unix_sock_inherit_flags()
1670 set_bit(SOCK_PASSCRED, &new->flags); in unix_sock_inherit_flags()
1821 return test_bit(SOCK_PASSCRED, &sock->flags) || in unix_passcred_enabled()
1824 test_bit(SOCK_PASSCRED, &other->sk_socket->flags) || in unix_passcred_enabled()
1909 if ((test_bit(SOCK_PASSCRED, &sock->flags) || in unix_dgram_sendmsg()
2770 } else if (test_bit(SOCK_PASSCRED, &sock->flags) || in unix_stream_read_generic()
/openbmc/linux/include/linux/
H A Dnet.h42 #define SOCK_PASSCRED 3 macro
/openbmc/linux/net/core/
H A Dsock.c1256 assign_bit(SOCK_PASSCRED, &sock->flags, valbool); in sk_setsockopt()
1759 v.val = !!test_bit(SOCK_PASSCRED, &sock->flags); in sk_getsockopt()