Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: querying socket peer credentials



On Mon, 7 Jul 2025, Thomas Klausner wrote:

> Hi!
> 
> wayland 1.24.0 would like to read the credentials of the other side of a socket.
[..]
> Is this supported in NetBSD in a different way, or is it missing this
> feature?

you can check the credentials on a local socket (which I'm guessing 
wayland is using?), see unix(4) LOCAL_CREDS and LOCAL_PEEREID

I did this with sdpd(8)

iain


Home | Main Index | Thread Index | Old Index