Re: pidfd design

From: Daniel Colascione
Date: Wed Mar 20 2019 - 16:14:16 EST


On Wed, Mar 20, 2019 at 1:07 PM Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:
> > What would be your opinion to having a
> > /proc/<pid>/handle
> > file instead of having a dirfd.
>
> This is even worse than depending on PROC_FS. Just for the dependency
> pidfd code should be backed out immediately. Forget about /proc.

We already have pidfds, and we've had them since /proc was added ages
ago. Backing out procfs is a bold proposal.