[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-api
Subject:    Re: [RFC 1/3] pidfd: allow pidfd_open() on non-thread-group leaders
From:       Florian Weimer <fweimer () redhat ! com>
Date:       2023-11-30 19:43:18
Message-ID: 87ttp3rprd.fsf () oldenburg ! str ! redhat ! com
[Download RAW message or body]

* Mathieu Desnoyers:

>>> I'd like to offer a userspace API which allows safe stashing of
>>> unreachable file descriptors on a service thread.

>> By "safe" here do you mean not accessible via pidfd_getfd()?

No, unreachable by close/close_range/dup2/dup3.  I expect we can do an
intra-process transfer using /proc, but I'm hoping for something nicer.

Thanks,
Florian


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic