tech-net archive

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

Re: Proposal to automatically make the owner/user of an accepted socket the current process




> On Jun 5, 2025, at 9:36 AM, Emmanuel Nyarko <emmankoko519%gmail.com@localhost> wrote:
> 
> Errmmm, I was thinking that it maybe becomes a default behavior.
> 
> I mean every socket should be owned by the process that the socket was created for.

This actually seems not that great.  It’s de rigueur to have a more privileged process create a socket (or other sort of file descriptor) in a controlled fashion to pass off to a less-privileged process.  This should be opt-in behavior on a per-file descriptor basis.

-- thorpej



Home | Main Index | Thread Index | Old Index