[LTP] [PATCH 2/4] Update tests to new taint check API
Petr Vorel
pvorel@suse.cz
Fri Aug 14 17:38:03 CEST 2020
Hi Martin,
> These are just trivial changes of tst_taint_init(mask) to .taint_check = mask.
> I intentionally didn't remove any tst_taint_check() calls here.
> testcases/cve/cve-2017-17053.c | 4 +---
> testcases/kernel/pty/pty05.c | 4 +---
> testcases/kernel/sound/snd_seq01.c | 3 +--
> testcases/kernel/sound/snd_timer01.c | 3 +--
> testcases/kernel/syscalls/connect/connect02.c | 4 +---
> testcases/kernel/syscalls/sendmsg/sendmsg03.c | 3 +--
> testcases/kernel/syscalls/setsockopt/setsockopt05.c | 7 +++----
> testcases/kernel/syscalls/setsockopt/setsockopt06.c | 4 +---
> testcases/kernel/syscalls/timerfd/timerfd_settime02.c | 3 +--
> 9 files changed, 11 insertions(+), 24 deletions(-)
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Have you tried to use .taint_check also for testcases/kernel/crypto/af_alg07.c
and testcases/kernel/syscalls/bpf/bpf_prog04.c?
Kind regards,
Petr
More information about the ltp
mailing list