[LTP] [PATCH v6 3/3] syscalls/modify_ldt01: Refactor into new API
Cyril Hrubis
chrubis@suse.cz
Mon Apr 7 14:41:23 CEST 2025
Hi!
> Now that we're using the wrapped modify_ldt() from the lapi/ldt.h which
> uses tst_syscall(), it does not make sense to keep the first block of the
> original test which simply checked for ENOSYS. Also, merge modify_ldt03
> into modify_ldt01 and extend the test to cover all the errors from the
> manual page.
>
> Signed-off-by: Ricardo B. Marlière <rbm@suse.com>
> ---
> testcases/kernel/syscalls/modify_ldt/.gitignore | 5 +-
> .../kernel/syscalls/modify_ldt/modify_ldt01.c | 264 +++++----------------
> .../kernel/syscalls/modify_ldt/modify_ldt03.c | 105 --------
You should remove modify_ldt03 from the syscalls runtest file as well.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list