Home
last modified time | relevance | path

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

/linux/include/net/
A Dscm.h117 if (test_bit(SOCK_PASSCRED, &sock->flags) || scm->fp) in scm_recv()
123 if (test_bit(SOCK_PASSCRED, &sock->flags)) { in scm_recv()
/linux/net/unix/
A Daf_unix.c1233 if (test_bit(SOCK_PASSCRED, &sock->flags) && in unix_dgram_connect()
1340 if (test_bit(SOCK_PASSCRED, &sock->flags) && !u->addr && in unix_stream_connect()
1534 if (test_bit(SOCK_PASSCRED, &old->flags)) in unix_sock_inherit_flags()
1535 set_bit(SOCK_PASSCRED, &new->flags); in unix_sock_inherit_flags()
1683 return test_bit(SOCK_PASSCRED, &sock->flags) || in unix_passcred_enabled()
1685 test_bit(SOCK_PASSCRED, &other->sk_socket->flags); in unix_passcred_enabled()
1794 if (test_bit(SOCK_PASSCRED, &sock->flags) && !u->addr in unix_dgram_sendmsg()
2699 } else if (test_bit(SOCK_PASSCRED, &sock->flags)) { in unix_stream_read_generic()
/linux/include/linux/
A Dnet.h42 #define SOCK_PASSCRED 3 macro
/linux/net/core/
A Dsock.c1171 set_bit(SOCK_PASSCRED, &sock->flags); in sock_setsockopt()
1173 clear_bit(SOCK_PASSCRED, &sock->flags); in sock_setsockopt()
1634 v.val = !!test_bit(SOCK_PASSCRED, &sock->flags); in sock_getsockopt()

Completed in 15 milliseconds