[LTP] [PATCH] sched_{set, get}attr: Call the syscalls via tst_syscall()
Wake Liu
wakel@google.com
Wed Oct 14 12:37:22 CEST 2026
Hi Andrea,
> The `sched_setattr` definition falls back to `syscall(__NR_sched_setattr, ..)`
> if it's not present inside the system and if you see that error, it's probably
> because you are linking to the wrong library locally.
You're right. The binaries were built against a newer Bionic, which
provides sched_setattr() and sched_getattr(), and then run on devices
with an older libc that lacks them. That's a mismatch in our build and
test setup, not something the tests should work around.
Please drop this patch, and sorry for the noise.
Thanks,
Wake
On Mon, Oct 12, 2026 at 8:24 PM Andrea Cervesato
<andrea.cervesato@suse.com> wrote:
>
> Hi Wake,
>
> > Reviewed-by: Andrea Cervesato <andrea.cervesato@suse.com>
>
> I think I reply to the wrong email. Forget about this RB.
>
> The `sched_setattr` definition falls back to `syscall(__NR_sched_setattr, ..)`
> if it's not present inside the system and if you see that error, it's probably
> because you are linking to the wrong library locally.
>
> Please confirm it so this patch will be rejected.
>
> --
> Andrea Cervesato
> SUSE QE Automation Engineer Linux
> andrea.cervesato@suse.com
--
Best Regards,
Wake Liu
More information about the ltp
mailing list