[LTP] [PATCH v3 06/11] Add stamount01 test

Cyril Hrubis chrubis@suse.cz
Wed Jul 10 10:00:59 CEST 2024


Hi!
> +	TST_EXP_EQ_LI(st_mount->mask, 0);

And I suppose that it would make sense to check that the rest of the
fields is cleared (set to zeroes as well) because if kernel does not
memset() the structure to 0 it's potential information leak.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list