[LTP] [PATCH 1/1] tst_taint.h Add taint for randstruct

Petr Vorel pvorel@suse.cz
Fri Jun 5 11:37:46 CEST 2020


Hi,

> +++ b/include/tst_taint.h
> @@ -60,7 +60,8 @@
#define TST_TAINT_G     (1 <<  0) /* a module with non-GPL license loaded */

one more note. I'd rename TST_TAINT_G to TST_TAINT_P, it's misleading, we use it
to use it for 'P' (proprietary module loaded).

Also we use taint_flag.c_true, not taint_flag.c_false:
[ TAINT_PROPRIETARY_MODULE ]    = { 'P', 'G', true },

But this flag hasn't been used, it might be always as placeholder (never
actually needed).

Kind regards,
Petr


More information about the ltp mailing list