Package: manpages-dev Version: 2.28-1 Severity: wishlist Tags: patch changes: make mmap.2 reference mincore explicitly state that a read-only MAP_PRIVATE is equivalent to MAP_SHARED
An alternative would be to take the commented-out Linus quote embedded in mmap.2 which says precisely what I want and create a NOTES section out of it. --- - 2006-05-12 19:54:03.058873000 -0400 +++ /tmp/mmap.2 2006-05-12 19:51:07.000000000 -0400 @@ -366,6 +366,7 @@ .BR mmap2 (2), .BR mremap (2), .BR msync (2), +.BR mincore (2), .BR setrlimit (2), .BR shm_open (3) .br --- - 2006-05-13 10:47:59.175369000 -0400 +++ /tmp/mmap.2a 2006-05-13 10:47:19.000000000 -0400 @@ -115,7 +115,8 @@ .BR mmap () call are visible in the mapped region. .LP -You must specify exactly one of MAP_SHARED and MAP_PRIVATE. +You must specify exactly one of MAP_SHARED and MAP_PRIVATE (for a +read-only mapping, they are equivalent). .LP The above three flags are described in POSIX.1b (formerly POSIX.4) and SUSv2. Linux also knows about the following non-standard flags: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]