Vincent Rischmann d7c770fb7f os: fix getrlimit/setrlimit test for MIPS
This test can fail due to a fix in musl for 32 bit MIPS, where musl changes limits greater than -1UL/2 to RLIM_INFINITY.
See http://git.musl-libc.org/cgit/musl/commit/src/misc/getrlimit.c?id=8258014fd1e34e942a549c88c7e022a00445c352

Depending on the system where the test is run getrlimit can return
RLIM_INFINITY for example if RLIMIT_MEMLOCK is bigger than ~2GiB.

If that happens, the setrlimit call will fail with PermissionDenied.
2021-11-16 20:36:50 +01:00
..
2021-11-15 20:48:24 +01:00
2021-11-15 20:04:55 -05:00
2021-10-27 16:07:48 -04:00
2021-10-27 16:07:48 -04:00
2021-11-09 13:41:38 -05:00
2021-11-15 20:04:55 -05:00
2021-11-15 04:47:57 +01:00
2021-09-19 14:02:22 +02:00
2021-10-17 16:06:40 -04:00
2021-11-15 20:04:55 -05:00
2021-10-05 12:32:26 -07:00
2021-11-15 20:04:55 -05:00
2021-10-27 16:07:48 -04:00
2021-09-22 14:14:03 -05:00
2021-09-07 15:08:51 -04:00