]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 286370:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 1 Oct 2015 22:17:27 +0000 (22:17 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 1 Oct 2015 22:17:27 +0000 (22:17 +0000)
commit8ca4b045f398a1a997efed97f3d2b9066a47623d
tree292c62bf32e1cab60b4e58617557766ba1bbabfc
parent599410897962ea0c0f751972ff6646722950d561
MFC 286370:
Add various tests to ensure that invalid arguments passed to mmap()
trigger failures.

Note: most of the tests that should provoke an EINVAL error do not
pass on stable/10 as stable/10 does not have the changes that added
more strict parameter checking to mmap().  Those changes will not be
merged to stable/10, so I have disabled them via #if 0 with a comment
explaining why.

git-svn-id: svn://svn.freebsd.org/base/stable/10@288466 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
tests/sys/vm/mmap_test.c