Workaround missing SO_PEERCRED
authorGuido Trotter <ultrotter@google.com>
Wed, 22 May 2013 12:57:51 +0000 (14:57 +0200)
committerGuido Trotter <ultrotter@google.com>
Wed, 22 May 2013 14:53:28 +0000 (16:53 +0200)
commit069a4bcf5dec3ee2038dfaf4aba0e75156ec5019
tree1c8684f734d04501d2192131e319bed115f1bdbd
parentae549364c3472728e38d4196f9943a55edc738e2
Workaround missing SO_PEERCRED

This bug happens in a few new distributions, so we workaround it by
defining the constant ourselves, if it's missing.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Thomas Thrainer <thomasth@google.com>
lib/netutils.py