History log of /src/tests/lib/libc/sys/t_mincore.c |
Revision | | Date | Author | Comments |
1.15 |
| 24-Feb-2020 |
rin | 0x%p --> %p for non-external codes.
|
1.14 |
| 08-Oct-2017 |
kre | branches: 1.14.4;
Skip the mincore_shmseg test case if the SYSVSHM option is not configured in the kernel.
|
1.13 |
| 01-Sep-2017 |
kre | Allow the test to build on systems where sys/mman.h does not provide PROT_MPROTECT(), or if the test is built without _NETBSD_SOURCE defined, by providing a dummy #define if the real one does not exist. The test might then fail, if the PROT_MPROTECT() is really needed, but that's better than not building.
|
1.12 |
| 01-Sep-2017 |
kre | Use PROT_MPROTECT() (which would have been better had it been called PROT_MAXPROTECT or PROT_ALLOWPROTECT or something) on the mmap() call which specifies PROT_NONE, and which we later want to change to PROT_READ, otherwise when PAX is enabled, the mprotect() will fail.
|
1.11 |
| 23-May-2017 |
christos | Add the error in syscall failure.
|
1.10 |
| 14-Jan-2017 |
christos | Pr/51866: Ngie Cooper: fix leak and release limit on memory to prevent false positives with mlock/mmap
|
1.9 |
| 10-Jan-2017 |
christos | more tests needing <sys/stat.h>
|
1.8 |
| 08-Jun-2012 |
martin | branches: 1.8.14; Degrade all intermediate failures due to memory/resource shortage to "skip" instead of "fail" - only if we get through to the real meat, we can tell wether mlockall/mincore work or not.
|
1.7 |
| 07-Jun-2012 |
martin | Revert previous - instead of guessing the amount of needed memory locked limits (often way too high) and skipping the test case if in doubt, raise the limits as far as we can, and fix a few places in the test where we could run into the limits and either skip or fail with a reasonable message.
|
1.6 |
| 05-Jun-2012 |
martin | Try to estimate the number of locked pages the mincore() test will need and check it against resource limits, skipping the tests if it probably is too low.
|
1.5 |
| 23-May-2012 |
martin | Simplify creation of a temporary file slightly, fix sizeof(buf) confusion when buf is a pointer.
|
1.4 |
| 14-Mar-2012 |
jruoho | Skip the ENOMEM/RLIMIT_MEMLOCK case when doing mlockall(2).
|
1.3 |
| 14-Jul-2011 |
jruoho | branches: 1.3.2; Remove the 't_mincore' test case, as it is essentially a less elegant version of the recently added page residency checks.
|
1.2 |
| 14-Jul-2011 |
jruoho | Add the test cases from the old ../regress/sys/uvm/mmap/mmap.c.
|
1.1 |
| 07-Jul-2011 |
jruoho | Add the syscall tests back. Couple of files and tests were also renamed for consistency. All of these now mimic the libc structure.
|
1.3.2.2 |
| 30-Oct-2012 |
yamt | sync with head
|
1.3.2.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.8.14.1 |
| 20-Mar-2017 |
pgoyette | Sync with HEAD
|
1.14.4.1 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|