[LTP] [RFC PATCH v1 1/1] splice07.c: Skip invalid splice() tests involving memfd secret

Jan Polensky japo@linux.ibm.com
Thu Jul 10 09:43:17 CEST 2025


Hi Wei,
On Thu, Jul 10, 2025 at 09:32:12AM -0400, Wei Gao wrote:
> On Wed, Jul 09, 2025 at 06:30:22PM +0200, Jan Polensky wrote:
> > Linux commit cbe4134ea4bc ("fs: export anon_inode_make_secure_inode() and fix
[skip]
> >  		case TST_FD_INET_SOCK:
>
> Another option maybe we can add this error into exp_errnos, i guess can
> fix your issue?
>
> for example:
>         const int exp_errnos[] = {EBADF, EINVAL};
> +       const int exp_errnos[] = {EBADF, EINVAL, EACCES};
>
I’m concerned that this approach might make the tests too unspecific.

Associating specific combinations with corresponding error codes would
provide much more precise results. However, given the vast number of
possible combinations, such an effort seems hardly practical.
> > --
> > 2.50.0
> >
> >
> > --
> > Mailing list info: https://lists.linux.it/listinfo/ltp


More information about the ltp mailing list