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
This commit is contained in:
parent
600283104b
commit
05ba5b51dd
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user