Module Name: src Committed By: uwe Date: Wed Jun 19 20:28:36 UTC 2019
Modified Files: src/lib/libc/sys: mprotect.2 Log Message: Small markup fixes. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/lib/libc/sys/mprotect.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/sys/mprotect.2 diff -u src/lib/libc/sys/mprotect.2:1.26 src/lib/libc/sys/mprotect.2:1.27 --- src/lib/libc/sys/mprotect.2:1.26 Sun May 14 12:30:37 2017 +++ src/lib/libc/sys/mprotect.2 Wed Jun 19 20:28:36 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: mprotect.2,v 1.26 2017/05/14 12:30:37 wiz Exp $ +.\" $NetBSD: mprotect.2,v 1.27 2019/06/19 20:28:36 uwe Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -43,7 +43,7 @@ .Fn mprotect "void *addr" "size_t len" "int prot" .Sh DESCRIPTION The -.Fn mprotect +.Nm system call changes the specified pages to have protection .Fa prot . @@ -56,7 +56,7 @@ argument by .Tn OR Ns 'ing the following values: .Pp -.Bl -tag -width MAP_FIXEDX -offset indent +.Bl -tag -width "Dv MAP_WRITE" -offset indent .It Dv PROT_EXEC Pages may be executed. .It Dv PROT_READ @@ -87,7 +87,7 @@ The new protection is less restrictive t set with .Xr mmap 2 . .Pp -PAX mprotect restrictions prohibit the requested protection. +PaX mprotect restrictions prohibit the requested protection. .It Bq Er EINVAL An invalid memory range, or invalid parameters were provided. .It Bq Er ENOMEM @@ -101,6 +101,6 @@ A resource shortage occurred while inter .Xr munmap 2 .Sh HISTORY The -.Fn mprotect +.Nm function first appeared in .Bx 4.4 .