Re: [PATCH v7 5/6] selftests: pidfd: add tests for PIDFD_SELF_*

2025-02-04 Thread Shakeel Butt
On Thu, Jan 30, 2025 at 08:40:30PM +, Lorenzo Stoakes wrote: > Add tests to assert that PIDFD_SELF* correctly refers to the current > thread and process. > > We explicitly test pidfd_send_signal(), however We defer testing of > mm-specific functionality which uses pidfd, namely process_madvise

[PATCH v7 5/6] selftests: pidfd: add tests for PIDFD_SELF_*

2025-01-30 Thread Lorenzo Stoakes
Add tests to assert that PIDFD_SELF* correctly refers to the current thread and process. We explicitly test pidfd_send_signal(), however We defer testing of mm-specific functionality which uses pidfd, namely process_madvise() and process_mrelease() to mm testing (though note the latter can not be