[libc] Add 'struct ucred' definition. (#213152)

This is a Linux extension that allows to obtain credentials of a peer
process connected to a socket, e.g. via passing `SO_PEERCRED` to
`getsockopt` function.

GitOrigin-RevId: 7d5dd438b286d4812a8d2e753262cb6db1c3be51
4 files changed