From: Kirk McKusick Date: Tue, 28 May 1991 12:44:43 +0000 (-0800) Subject: date and time created 91/05/27 21:44:43 by mckusick X-Git-Tag: BSD-4_4-Snapshot-Development~10304 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/e0be0d402977bec378108c02f14a1f6abdaeecd4 date and time created 91/05/27 21:44:43 by mckusick SCCS-vsn: lib/libc/sys/mprotect.2 6.1 --- diff --git a/usr/src/lib/libc/sys/mprotect.2 b/usr/src/lib/libc/sys/mprotect.2 new file mode 100644 index 0000000000..5e3a3cdfa5 --- /dev/null +++ b/usr/src/lib/libc/sys/mprotect.2 @@ -0,0 +1,25 @@ +.\" Copyright (c) 1991 Regents of the University of California. +.\" All rights reserved. +.\" +.\" %sccs.include.redist.man% +.\" +.\" @(#)mprotect.2 6.1 (Berkeley) %G% +.\" +.TH MPROTECT 2 "" +.UC 7 +.SH NAME +mprotect \- control the protection of pages +.SH SYNOPSIS +.nf +mprotect(addr, len, prot) +.B caddr_t addr; +.B int len, prot; +.fi +.SH DESCRIPTION +.PP +The \fImprotect\fP system call +changes the specified pages to have protection \fIprot\fP\|. +Not all implementations will guarantee protection on a page basis; +the granularity of protection changes may be as large as an entire region. +.SH "SEE ALSO" +msync.2, munmap.2, mprotect.2, madvise.2, mincore.2