IRC channel logs
2026-08-05.log
back to list of logs
<youpi>there is some SCM_CREDS experimental support, but it's not finished (it's not actually checked...) <rsmarples>iirc you have to set a socket option after creating the socket <rsmarples>so there is a race with a client opening the socket and sending something <youpi>it's a message sent from one side and received by the other side <youpi>so it's less convenient because the requester needs actions from the requestee <youpi>but otherwise I don't see why there would be a race <youpi>the requester will just wait for the requestee to provide the cred <youpi>good thing being that the creds will be of the process that sends the message, and not of the process that created the socket (and possibly passed to another process) <youpi>ah, maybe you are confusing with SCM_CREDENTIALS. <youpi>which indeed needs an option <jab>as far as I know he was never an Inquisitor <jab>he was the founder of the Jesuits. <jab>apparently he "prayed for 7 hours a day on bended knee." That might have been when he first got started. <rsmarples>youpi: i think that behaviour must be FreeBSD specific? NetBSD and OpenBSD require socket options for SCM_CREDS <jab`>good to know that the Society of Jesus was the main charge of the Inquisition. I didn't know that. The biography of St. Ignatius is still pretty cool. Miracles, lots of prayer, fasting, etc. Something that I want to try to emulate. <jab`>hmmm, why did my irc nick change suddenly ? <jab>man irc is confusing. <yang>jab`: the irc client uses secondary nickname, if the first one is taken <youpi>rsmarples: afaik when the creds are explicitly pased, you don't need an option <jab`>oh, I did just change my ethernet connection from a switch to a router... <yang>yes, then your first nickname times out, and with new reconnect you get secondary nickname <youpi>rsmarples: even in the implicit cred passing with the LOCAL_CREDS option, it doesn't seem to have a race, as in the cred will be attached on the next sent data <youpi>so the receiver of the data will wait for the data to come anyway, and the creds will be along it <youpi>what I don't know is whether a control message can be received without any data <rsmarples>youpi: well I must be doing something wrong anyway or Gentoo/Hurd is broken as I can't get it to work <youpi>(actually I probably shouldn't have applied it to debian at all, since apparently it dropped any incentive to actually finished it....) <youpi>well, in the end it should be working <youpi>it's a matter of somebody taking the time to finish the support <youpi>and I'll be happy to push it upsteram <rsmarples>after dealing with 40+ AI detected "security" issues I have no time (at least short term, lol) <youpi>that's unfortunately the case of a lot of people :/ <rsmarples>ok, I'll have to harden the socket at the filesystem level <rsmarples>short term solution, just makes the reader group disabled and you have to be a writer