[LTP] [PATCH 4/5] mremap04: Convert to new API
Cyril Hrubis
chrubis@suse.cz
Thu Aug 6 15:28:36 CEST 2026
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
chrubis@suse.cz
More information about the ltp
mailing list