Document that mmap() returns MAP_FAILED on error, as per the POSIX standard.

This commit is contained in:
Fabrice Bauzac 2013-10-25 13:51:58 +05:30 committed by Siddhesh Poyarekar
parent 7cbcdb3699
commit 52e6d80122
3 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
[BZ #16074]
* manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
MAP_FAILED on error.
2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
[BZ #16072]

3
NEWS
View File

@ -15,7 +15,8 @@ Version 2.19
15734, 15735, 15736, 15748, 15749, 15754, 15760, 15764, 15797, 15825,
15844, 15847, 15849, 15855, 15856, 15857, 15859, 15867, 15886, 15887,
15890, 15892, 15893, 15895, 15897, 15905, 15909, 15919, 15921, 15923,
15939, 15948, 15963, 15966, 15988, 16032, 16034, 16036, 16041, 16072.
15939, 15948, 15963, 15966, 15988, 16032, 16034, 16036, 16041, 16072,
16074.
* CVE-2012-4412 The strcoll implementation caches indices and rules for
large collation sequences to optimize multiple passes. This cache

View File

@ -1226,8 +1226,8 @@ as the included @code{malloc} automatically uses @code{mmap} where appropriate.
@end vtable
@code{mmap} returns the address of the new mapping, or @math{-1} for an
error.
@code{mmap} returns the address of the new mapping, or
@code{MAP_FAILED} for an error.
Possible errors include: