diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-02-26 08:12:20 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-02-26 08:12:20 +0000 |
commit | be002226b7ec2a7cbff8f5c9318106a731279671 (patch) | |
tree | cd68a8f703b0fbfaee45406cd510c690c6bff00e | |
parent | 80a108b2ed9af5232e040f9da9fcdd2e13cdcb2d (diff) |
another EINVAL case documented
-rw-r--r-- | lib/libc/sys/mmap.2 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2 index 49af57a05c1..2eca5d84366 100644 --- a/lib/libc/sys/mmap.2 +++ b/lib/libc/sys/mmap.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mmap.2,v 1.34 2004/04/19 10:26:10 jmc Exp $ +.\" $OpenBSD: mmap.2,v 1.35 2007/02/26 08:12:19 otto Exp $ .\" $NetBSD: mmap.2,v 1.5 1995/06/24 10:48:59 cgd Exp $ .\" .\" Copyright (c) 1991, 1993 @@ -198,7 +198,11 @@ is not a valid open file descriptor. .Dv MAP_FIXED was specified and the .Fa addr -parameter was not page aligned. +parameter was not page aligned or +.Fa addr +and +.Fa size +specify a region that would extend beyond the end of the address space. .Fa fd did not reference a regular or character special file. .It Bq Er ENOMEM |