svn commit: r313565 - head/tests/sys/vm

Ngie Cooper ngie at FreeBSD.org
Fri Feb 10 19:31:10 UTC 2017


Author: ngie
Date: Fri Feb 10 19:31:09 2017
New Revision: 313565
URL: https://svnweb.freebsd.org/changeset/base/313565

Log:
  Expect :mmap__bad_arguments to fail
  
  Some recent changes to vm related to mmap(2) have broken the prot checks that
  would result with an EINVAL with this case
  
  I suspect r313352 is the root-cause the issue
  
  PR:		216976
  Sponsored by:	Dell EMC Isilon

Modified:
  head/tests/sys/vm/mmap_test.c

Modified: head/tests/sys/vm/mmap_test.c
==============================================================================
--- head/tests/sys/vm/mmap_test.c	Fri Feb 10 19:25:52 2017	(r313564)
+++ head/tests/sys/vm/mmap_test.c	Fri Feb 10 19:31:09 2017	(r313565)
@@ -134,6 +134,8 @@ ATF_TC_BODY(mmap__bad_arguments, tc)
 	checked_mmap(PROT_READ, MAP_SHARED, devstatfd, 0,
 	    "simple /dev/devstat shared");
 
+	atf_tc_expect_fail("extra PROT flags check fails due to recent mmap(2) changes; bug # 216976");
+
 	/* Extra PROT flags. */
 	checked_mmap(PROT_READ | PROT_WRITE | 0x100000, MAP_ANON, -1, EINVAL,
 	    "MAP_ANON with extra PROT flags");


More information about the svn-src-all mailing list