Re: Proposal to automatically make the owner/user of an accepted socket the current process
Jason Thorpe <[email protected]> Thu, 5 Jun 2025 18:42:51 -0700
| Newsgroups | gmane.os.netbsd.devel.network,gmane.os.netbsd.devel.kernel |
|---|---|
| Message-ID | <[email protected]> |
> On Jun 5, 2025, at 9:36 AM, Emmanuel Nyarko <[email protected]> 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