[LTP] [PATCH v2 1/8] Refactor mmap03 test

Cyril Hrubis chrubis@suse.cz
Mon Feb 24 17:56:15 CET 2025


Hi!
> @Cyril? Should we keep only mips? And I strongly suspect nobody is testing LTP
> on mips, but we should probably not kill a still living arch.
> If all these archs removed whole fork could be removed.

The fact that memory mapped with PROT_EXEC is readable is an
implementation detail for an architecture and not guaranteed. So the
best result is either to expect that the child returns with 0 or dies
with SIGSEGV, either one is correct behavior.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list