linux-test-project / ltp

Linux Test Project (mailing list: https://lists.linux.it/listinfo/ltp)
https://linux-test-project.readthedocs.io/
GNU General Public License v2.0
2.27k stars 1k forks source link

sbrk01 fails on musl because it is not implemented #1089

Open richiejp opened 9 months ago

richiejp commented 9 months ago

musl always returns ENOMEM for any call to sbrk other than 0.

The test could call the syscall directly, but libc calls should probably be avoided before returning the segment size to its original value.