Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167424362
D43282.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
513 B
Referenced Files
None
Subscribers
None
D43282.diff
View Options
diff --git a/tests/sys/posixshm/posixshm_test.c b/tests/sys/posixshm/posixshm_test.c
--- a/tests/sys/posixshm/posixshm_test.c
+++ b/tests/sys/posixshm/posixshm_test.c
@@ -1407,7 +1407,7 @@
ATF_REQUIRE(munmap(addr, ps[i] == 0));
/* Clobber an anonymous mapping with a superpage. */
- addr1 = mmap(NULL, ps[0], PROT_READ | PROT_WRITE,
+ addr1 = mmap(NULL, ps[i], PROT_READ | PROT_WRITE,
MAP_ANON | MAP_PRIVATE | MAP_ALIGNED(ffsl(ps[i]) - 1), -1,
0);
ATF_REQUIRE_MSG(addr1 != MAP_FAILED,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Aug 22, 4:02 PM (7 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37095903
Default Alt Text
D43282.diff (513 B)
Attached To
Mode
D43282: posixshm largepage_mmap: fix a racy test
Attached
Detach File
Event Timeline
Log In to Comment