Colleagues, tell me, please, how can I get the user's credentials through the unix domain socket correctly?
Most likely, I'm doing something wrong. I want to call a function
but I can't compile and run the code.
Is there anywhere I can see the code for FreeBSD, that get the user's credentials through the unix domain socket?
With thanks,
Ogogon.
Most likely, I'm doing something wrong. I want to call a function
C:
getsockopt(sd, SOL_SOCKET, SO_PEERCRED, ........)
Is there anywhere I can see the code for FreeBSD, that get the user's credentials through the unix domain socket?
With thanks,
Ogogon.