Home
last modified time | relevance | path

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

/linux-4.1.27/include/net/
Dscm.h114 if (test_bit(SOCK_PASSCRED, &sock->flags) || scm->fp) in scm_recv()
120 if (test_bit(SOCK_PASSCRED, &sock->flags)) { in scm_recv()
/linux-4.1.27/net/unix/
Daf_unix.c1093 if (test_bit(SOCK_PASSCRED, &sock->flags) && in unix_dgram_connect()
1194 if (test_bit(SOCK_PASSCRED, &sock->flags) && !u->addr && in unix_stream_connect()
1373 if (test_bit(SOCK_PASSCRED, &old->flags)) in unix_sock_inherit_flags()
1374 set_bit(SOCK_PASSCRED, &new->flags); in unix_sock_inherit_flags()
1561 if (test_bit(SOCK_PASSCRED, &sock->flags) || in maybe_add_creds()
1563 test_bit(SOCK_PASSCRED, &other->sk_socket->flags)) { in maybe_add_creds()
1613 if (test_bit(SOCK_PASSCRED, &sock->flags) && !u->addr in unix_dgram_sendmsg()
2166 } else if (test_bit(SOCK_PASSCRED, &sock->flags)) { in unix_stream_recvmsg()
/linux-4.1.27/include/linux/
Dnet.h39 #define SOCK_PASSCRED 3 macro
/linux-4.1.27/net/core/
Dsock.c834 set_bit(SOCK_PASSCRED, &sock->flags); in sock_setsockopt()
836 clear_bit(SOCK_PASSCRED, &sock->flags); in sock_setsockopt()
1150 v.val = !!test_bit(SOCK_PASSCRED, &sock->flags); in sock_getsockopt()
/linux-4.1.27/Documentation/networking/
Dnetlink_mmap.txt150 process. These values correspond to the data available using SOCK_PASSCRED in