Home | History | Annotate | Download | only in sys
History log of /src/tests/lib/libc/sys/t_mmap.c
RevisionDateAuthorComments
 1.18  04-Jun-2022  riastradh tests/lib/libc: Test mmap(2) with bad hints.
 1.17  06-Apr-2022  gson Add a regression test for PR kern/52239, "Changing protections of
already mmap'ed region can fail", based on the test program in the PR.
 1.16  05-Apr-2022  gson In the mmap_err test case, mmap the address, not the address of the address.
Should fix PR kern/56780.
 1.15  05-Apr-2022  gson When the t_mmap:mmap_err test fails due to errno not having the expected
value of EINVAL, print the actual value.
 1.14  26-Jun-2020  jruoho Reference PRs consistently.
 1.13  23-May-2017  christos Handle dk disks and print errors.
 1.12  16-Jan-2017  christos PR/51891: Ngie Cooper: use sys/disklabel.h instead of machine/disklabel.h
 1.11  13-Jan-2017  christos branches: 1.11.2;
PR/51855: Ngie Cooper: fix leaks
 1.10  10-Jan-2017  christos more tests needing <sys/stat.h>
 1.9  28-Feb-2015  martin branches: 1.9.2;
Make sure to use the values calculated in the loop that is supposed to crash
the client process - so the compiler does not optimize it all away.
Also improve diagnostic in case of common bug: SIGSEGV instead of SIGBUS.
 1.8  27-Feb-2015  christos add truncate causing signal test
 1.7  14-Jun-2012  bouyer Disable the mmap_block test again, it doesn't panic when mmaping /dev/wd0d
only by accident. PR kern/46592.
 1.6  01-Jun-2012  martin Do not skip the block device mmap test, as it does not crash
the kernel any more. Mark it as expected failure instead.
 1.5  16-May-2012  martin mmap_block:
do not use a hardcoded block device list, but query the kernel for attached
disks instead, then try to mmap the raw partition.
 1.4  13-Mar-2012  jruoho Use atf_tc_skip().
 1.3  06-Mar-2012  jruoho A test case for serious PR kern/38889: crash on open/mmap/close of block
device. The test case is skipped for the time being as it replicates the
panic described in the PR (tested on NetBSD/amd64 6.0 BETA).
 1.2  14-Jul-2011  jruoho branches: 1.2.2; 1.2.4;
Move the uvm "loan" test to tests(7).
 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.2.4.2  15-Jun-2012  sborrill Pull up the following revisions(s) (requested by bouyer in ticket #345):
tests/lib/libc/sys/t_mmap.c: revision 1.7

Disable the mmap_block test again. It is only by accident that it doesn't
panic when mmaping /dev/wd0d. PR kern/46592
 1.2.4.1  11-Jun-2012  riz Pull up following revision(s) (requested by martin in ticket #301):
sys/uvm/uvm_vnode.c: revision 1.98
tests/lib/libc/sys/t_mmap.c: revision 1.3
tests/lib/libc/sys/t_mmap.c: revision 1.4
tests/lib/libc/sys/t_mmap.c: revision 1.5
tests/lib/libc/sys/t_mmap.c: revision 1.6
Only use generic readahead on VREG vnodes, the space used to store the
context is not valid on other types.
Prevents the crash reported in PR kern/38889, but does not fix the
mmap of block devices, more work is needed (no size on VBLK vnodes).
Do not skip the block device mmap test, as it does not crash
the kernel any more. Mark it as expected failure instead.
mmap_block:
do not use a hardcoded block device list, but query the kernel for attached
disks instead, then try to mmap the raw partition.
Use atf_tc_skip().
A test case for serious PR kern/38889: crash on open/mmap/close of block
device. The test case is skipped for the time being as it replicates the
panic described in the PR (tested on NetBSD/amd64 6.0 BETA).
 1.2.2.3  30-Oct-2012  yamt sync with head
 1.2.2.2  23-May-2012  yamt sync with head.
 1.2.2.1  17-Apr-2012  yamt sync with head
 1.9.2.1  20-Mar-2017  pgoyette Sync with HEAD
 1.11.2.1  21-Apr-2017  bouyer Sync with HEAD

RSS XML Feed