[LTP] [PATCH v2 1/1] mremap06: Add mremap() reproducer for 7e7757876f25

Cyril Hrubis chrubis@suse.cz
Tue Jul 18 17:02:39 CEST 2023


Hi!
> +	ret = fallocate(fd, 0, 0, mmap_size);
> +	if (ret == -1)
> +		tst_brk(TBROK, "fallocate() failed");

I'm slightly surprised that we do not have SAFE_FALLOCATE().

Anyways:

Reviewed-by: Cyril Hrubis <chrubis@suse.cz>

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list