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

Cyril Hrubis <[email protected]>
Newsgroups it.linux.lists.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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.