Searched refs:unix_may_passcred (Results 1 – 1 of 1) sorted by relevance
804 static bool unix_may_passcred(const struct sock *sk) in unix_may_passcred() function1536 if (unix_may_passcred(sk) && !READ_ONCE(unix_sk(sk)->addr)) { in unix_dgram_connect()1655 if (unix_may_passcred(sk) && !READ_ONCE(u->addr)) { in unix_stream_connect()2031 if (unix_may_passcred(sk) || unix_may_passcred(other) || in unix_maybe_add_creds()2124 if (unix_may_passcred(sk) && !READ_ONCE(u->addr)) { in unix_dgram_sendmsg()3035 } else if (unix_may_passcred(sk)) { in unix_stream_read_generic()