The kernel's credentials for the peer of a connected unix socket: SO_PEERCRED on Linux, LOCAL_PEERCRED (the uid getpeereid(3) reads) and LOCAL_PEERPID on macOS.
SO_PEERCRED
LOCAL_PEERCRED
LOCAL_PEERPID
The kernel's credentials for the peer of a connected unix socket:
SO_PEERCREDon Linux,LOCAL_PEERCRED(the uid getpeereid(3) reads) andLOCAL_PEERPIDon macOS.