[LTP] [PATCH] Disable io_uring fd in ioctl_pidfd01 for selinux
Andrea Cervesato
andrea.cervesato@suse.com
Tue Jul 29 18:48:15 CEST 2025
On 7/29/25 6:17 PM, Cyril Hrubis wrote:
> Maybe it would make sense to inject additional errno EACESS to the
> TST_EXP_FAIL() automatically if we detect that selinux is enforcing.
This is potentially true for every LTP test, because SELinux can be
customized in many ways. Technically, we should not take care about
SELinux inside tests if they fail because of it and to threat failures
according to the LSM configuration, considering that as a known issue or
a soft failure.
At least, this was my first idea. This patch was introduced after
talking to other devs and I'm also not 100% sure about it.
- Andrea
More information about the ltp
mailing list