[LTP] [PATCH] Move prctl04 in seccomp testing suite
Petr Vorel
pvorel@suse.cz
Mon Jun 10 16:07:43 CEST 2024
Hi Andrea,
> From: Andrea Cervesato <andrea.cervesato@suse.com>
> prictl04 has been renamed as seccomp01 and a test variant has been added
> in order to support the seccomp() syscall, that is currently equivalent
> to prctl(PR_SET_SECCOMP).
Reviewed-by: Petr Vorel <pvorel@suse.cz>
It'd be nice to update test description, that __NR_seccomp is also used.
And print info what is being tested, based on tst_variant (see chmod/chmod01.c).
BTW the old test was broken on musl:
prctl04.c:212: TFAIL: SECCOMP_MODE_FILTER doesn't permit exit()
Kind regards,
Petr
More information about the ltp
mailing list