On 6 Jun 2025, at 2:41 AM, Jason Thorpe <thorpej%me.com@localhost> wrote:
On Jun 5, 2025, at 7:30 PM, Emmanuel Nyarko <emmankoko519%gmail.com@localhost> wrote:
Yep, UNIX socket behavior. And so far hearing from you guys, I now know it’s a bad idea to make it a default behavior. So an opt-in behavior with socket options. Just adding an extension for that.
Make it an fcntl option rather than a socket option so that you can apply it to any type of file descriptor? Maybe F_DROPCREDS so that passing it to anyone causes it to drop the senders creds and take the receiver’s?
Alright thanks. I think I can do some research into that.
And also, fchown, no support for it yet ?
A scoffer seeks wisdom in vain, but knowledge is easy for a man of understanding. Emmanuel
|