[LTP] [PATCH v2 4/8] Add ioctl_pidfd02 test
Andrea Cervesato
andrea.cervesato@suse.com
Mon Jul 7 17:28:06 CEST 2025
On 7/7/25 2:33 PM, Cyril Hrubis wrote:
> Looking at the kernel code it looks that if the PIDFD_INFO_EXIT is not
> supported we will get ESRCH in the second case. So I suppose that better
> fix would be to allow ESRCH in the second case if kernel is older than
> 6.15 instead of skipping the whole test.
Maybe it makes more sense to check PIDFD_INFO_EXIT is available via
configure.ac and eventually check for this support in the setup(). So we
avoid weird runtime checks. WDYT?
- Andrea
More information about the ltp
mailing list