Open
Description
I'm using PeerCredentials
functionality to extract the remote end of a unix domain socket, but all of the fields in the resulting ucred
struct are private. I can work around this by doing an unsafe reinterepret cast (err, transmute
) to a #struct of my own definition with the same fields and layout, but would it be reasonable to just redefine struct ucred
to have public fields?