[LTP] [PATCH 2/2] mount_setattr01: add open_tree_attr variant
Cyril Hrubis
chrubis@suse.cz
Mon Sep 1 17:48:06 CEST 2025
Hi!
> > And does it work correctly on kernels older than 6.15? I do not see any
> > checks for the open_tree_attr() syscall availability.
>
> We discussed time ago that we prefer to have a tst_syscall() TCONF
> caused by missing syscall, rather than checking that syscall is present
> all the times via autoconf.
I wasn't speaking about autoconf, that never works for kernel support.
I was afraid that tst_brk() from tst_syscall() would exit the whole
test, but it looks like the test library is smart enough and it does not
set the abort_flag for TCONF and the test will continue running
even if one of the variants called tst_brk(TCONF, ...). So I suppose
that the test actually runs correctly on kernel that does not support
open_tree_attr() even with -i 10.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list