Re: [PATCH 4/5] mremap04: Convert to new API

Cyril Hrubis <[email protected]> Thu, 6 Aug 2026 15:28:36 +0200
Newsgroups gmane.linux.ltp
Message-ID <anSMBJKH8bjhJcs5@rei>
Hi!
> +	 * Pass old_size of one page while the segment is two pages: the
> +	 * mismatch is intentional and must be preserved.
>  	 */

Wouldn't this be enough for the mremap() to fail even with regular
mmap()? I do not see what the test needs the sysv shm for.

Also the interaction between SysV shm and mremap() seems to be more
complicated and may warrant more tests.

-- 
Cyril Hrubis
[email protected]

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp