Skip to content

syscalls/sched_*: convert to new API and handle ENOSYS errno

Cyril Hrubis ltp 1 version New

Get series with b4
b4 am YPcGhOrlBNI7iZ0a@yuki

Versions newest first

  1. v1 Latest0 of 16 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 16 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [LTP] [PATCH 00/16] syscalls/sched_*: convert to new API and handle ENOSYS errno

Hi!

Quoted 9 lines
Quoted 6 lines
Quoted 2 lines

BTW, sched_rr_get_interval* tests already using tst_variants, adding more variants will double them too, right?

Actually not, since we do run the test for both the libc sched_rr_get_interval and for all possible syscalls variants we don't have to touch these tests at all.

sched_rr_get_interval works with musl, the one which returns ENOSYS is sched_setscheduler() there, in setup().

Since this is setup we may as well switch to syscall() in the test setup and be done with it, we are not testing sched_setscheduler() in these tests.

Signature · 2 lines
Cyril Hrubis
[email protected]