Re: [PATCH v6 2/5] pidfd: add PIDFD_SELF_* sentinels to refer to own thread/process

2025-01-07 Thread Lorenzo Stoakes
On Mon, Jan 06, 2025 at 01:03:31PM -0800, Shakeel Butt wrote: > Hey Lorenzo & Christian, what's the latest here? I see Christian has > code suggestions at [1] which just needs to be addressed. Any thing > else? I am hoping we can get this merged in the coming open window. This is on my radar don't

Re: [PATCH v6 2/5] pidfd: add PIDFD_SELF_* sentinels to refer to own thread/process

2025-01-06 Thread Shakeel Butt
On Mon, Dec 02, 2024 at 10:52:13AM +, Lorenzo Stoakes wrote: > On Fri, Nov 08, 2024 at 02:28:14PM +, Lorenzo Stoakes wrote: > > On Wed, Oct 30, 2024 at 04:37:37PM +, Lorenzo Stoakes wrote: > > > On Mon, Oct 28, 2024 at 04:06:07PM +, Lorenzo Stoakes wrote: > > > > I guess I'll try to

Re: [PATCH v6 2/5] pidfd: add PIDFD_SELF_* sentinels to refer to own thread/process

2024-12-02 Thread Christian Brauner
On Wed, Oct 30, 2024 at 04:37:37PM +, Lorenzo Stoakes wrote: > On Mon, Oct 28, 2024 at 04:06:07PM +, Lorenzo Stoakes wrote: > > I guess I'll try to adapt that and respin a v7 when I get a chance. > > Hm looking at this draft patch, it seems like a total rework of pidfd's > across the board

Re: [PATCH v6 2/5] pidfd: add PIDFD_SELF_* sentinels to refer to own thread/process

2024-12-02 Thread Lorenzo Stoakes
On Fri, Nov 08, 2024 at 02:28:14PM +, Lorenzo Stoakes wrote: > On Wed, Oct 30, 2024 at 04:37:37PM +, Lorenzo Stoakes wrote: > > On Mon, Oct 28, 2024 at 04:06:07PM +, Lorenzo Stoakes wrote: > > > I guess I'll try to adapt that and respin a v7 when I get a chance. > > > > Hm looking at th

Re: [PATCH v6 2/5] pidfd: add PIDFD_SELF_* sentinels to refer to own thread/process

2024-11-08 Thread Lorenzo Stoakes
On Wed, Oct 30, 2024 at 04:37:37PM +, Lorenzo Stoakes wrote: > On Mon, Oct 28, 2024 at 04:06:07PM +, Lorenzo Stoakes wrote: > > I guess I'll try to adapt that and respin a v7 when I get a chance. > > Hm looking at this draft patch, it seems like a total rework of pidfd's > across the board

Re: [PATCH v6 2/5] pidfd: add PIDFD_SELF_* sentinels to refer to own thread/process

2024-10-30 Thread Lorenzo Stoakes
On Mon, Oct 28, 2024 at 04:06:07PM +, Lorenzo Stoakes wrote: > I guess I'll try to adapt that and respin a v7 when I get a chance. Hm looking at this draft patch, it seems like a total rework of pidfd's across the board right (now all pidfd's will need to be converted to pid_fd)? Correct me if

Re: [PATCH v6 2/5] pidfd: add PIDFD_SELF_* sentinels to refer to own thread/process

2024-10-28 Thread Lorenzo Stoakes
On Mon, Oct 28, 2024 at 04:34:33PM +0100, Christian Brauner wrote: > On Sat, Oct 26, 2024 at 08:24:58AM +0100, Lorenzo Stoakes wrote: > > It is useful to be able to utilise the pidfd mechanism to reference the > > current thread or process (from a userland point of view - thread group > > leader fr

Re: [PATCH v6 2/5] pidfd: add PIDFD_SELF_* sentinels to refer to own thread/process

2024-10-28 Thread Christian Brauner
On Sat, Oct 26, 2024 at 08:24:58AM +0100, Lorenzo Stoakes wrote: > It is useful to be able to utilise the pidfd mechanism to reference the > current thread or process (from a userland point of view - thread group > leader from the kernel's point of view). > > Therefore introduce PIDFD_SELF_THREAD

[PATCH v6 2/5] pidfd: add PIDFD_SELF_* sentinels to refer to own thread/process

2024-10-26 Thread Lorenzo Stoakes
It is useful to be able to utilise the pidfd mechanism to reference the current thread or process (from a userland point of view - thread group leader from the kernel's point of view). Therefore introduce PIDFD_SELF_THREAD to refer to the current thread, and PIDFD_SELF_THREAD_GROUP to refer to the