[LTP] [PATCH 2/3] lib: Add .skip_in_32bit

Cyril Hrubis chrubis@suse.cz
Mon May 20 17:38:17 CEST 2024


Hi!
> @@ -494,6 +497,7 @@ struct tst_ulimit_val {
>  	unsigned int skip_in_lockdown:1;
>  	unsigned int skip_in_secureboot:1;
>  	unsigned int skip_in_compat:1;
> +	unsigned int skip_in_32bit:1;

I was thinking about this and maybe it would make more sense to make
this more generic. If we ever need to add flags for a test to be skipped
on 64bit ABI we would have to add another flag. One example would be an
EOVERFLOW error from mmap() that can happen only on 32bit.

So maybe it would make sense to change this to be .needs_abi_bits and
the possible values would be 32 and 64.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list