[LTP] [PATCH v2 1/1] syscalls/madvise: Handle zero page poisoning

Cyril Hrubis chrubis@suse.cz
Tue Apr 4 15:44:38 CEST 2017


Hi!
Pushed with cosmetic changes, thanks.

> +	if (maptype == MAP_PRIVATE)
> +		tst_res(TCONF,
> +			"Zero page poisoning is probably not implemented");
> +	else
> +		tst_res(TFAIL,
> +			"Did not receive SIGBUS after accessing %s memory marked with MADV_HWPOISON",
> +			mapname(maptype));

Added braces around these multiline statements as well.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list