[LTP] [PATCH v14 1/4] futex_wait06: Add EFAULT error coverage test

Cyril Hrubis chrubis@suse.cz
Fri Jun 12 16:47:19 CEST 2026


Hi!
> +	bad = SAFE_MMAP(NULL, getpagesize(), PROT_READ | PROT_WRITE,
> +			MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
> +	SAFE_MUNMAP((void *)bad, getpagesize());
> +}

I've changed the test to use the tst_get_bad_addr() library function
isntead and pushed, thanks.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list