@lyse Yesterday, I had a look at Unix domain sockets and how to obtain the caller information: https://lyse.isobeef.org/caller-information-via-unix-domain-sockets/ vor ≈3 Tagen | #honab3q |
@movq | #honab3q @lyse Nice! Next up: Passing file descriptors over Unix sockets. 😃 vor ≈3 Tagen | #tf2gyoq |
@lyse | #tf2gyoq Thanks, @movq! That seems to be much easier. It's already implemented in the Python docs as examples of recvmsg(…) and sendmsg(…): https://docs.python.org/3/library/socket.html#socket.socket.recvmsg https://docs.python.org/3/library/socket.html#socket.socket.sendmsg I looked at them sooo many times in order to figure out why my SCM_CREDENTIALS sending code didn't work. :-D vor ≈3 Tagen | #ofspoqa |