[LTP] [PATCH v3] ioctl_pidfd01: check EACCESS error when SELinux is enabled

Andrea Cervesato andrea.cervesato@suse.com
Wed Jul 30 11:28:46 CEST 2025


On 7/30/25 10:24 AM, Petr Vorel wrote:
> ALso, we have yet another bug on some older kernel versions (found on 6.12 and
> 6.13, but 6.16 is not affected)
> ioctl_pidfd.h:32: TBROK: ioctl(3,((((2U|1U) << (((0+8)+8)+14)) | (((0xFF)) << (0+8)) | (((11)) << 0) | ((((sizeof(struct pidfd_info)))) << ((0+8)+8)))),...) failed: ESRCH (3)

I'm gonna investigate this bug now. In the meanwhile I merge the patch. 
Thanks!

- Andrea



More information about the ltp mailing list