[LTP] [PATCH v3 1/3] syscalls: munmap01: Convert to new API

Andrea Cervesato andrea.cervesato@suse.com
Mon Jul 7 17:10:27 CEST 2025


Hi!

On 7/7/25 1:59 PM, Ricardo B. Marlière via ltp wrote:
> -		*addr = 50;
> +	SAFE_MUNMAP(map_addr, map_len);
>   

Now we are missing to set map_base to NULL. Without it, when cleanup() 
is called we will perform a munmap() for the second time on the memory 
that has been released already.

- Andrea



More information about the ltp mailing list