sync with OpenBSD -current
This commit is contained in:
parent
cc6742f14d
commit
f913a3fe74
59 changed files with 478 additions and 318 deletions
|
@ -1,4 +1,4 @@
|
|||
.\" $OpenBSD: mimmutable.2,v 1.4 2024/01/20 13:19:37 deraadt Exp $
|
||||
.\" $OpenBSD: mimmutable.2,v 1.5 2024/01/21 17:46:03 deraadt Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -29,7 +29,7 @@
|
|||
.\"
|
||||
.\" @(#)mimmutable.2 8.1 (Berkeley) 6/9/93
|
||||
.\"
|
||||
.Dd $Mdocdate: January 20 2024 $
|
||||
.Dd $Mdocdate: January 21 2024 $
|
||||
.Dt MIMMUTABLE 2
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
@ -45,9 +45,12 @@ The
|
|||
system call
|
||||
changes currently mapped pages in the region to be marked immutable,
|
||||
which means their protection or mapping may not be changed in the future.
|
||||
Most requests to
|
||||
.Xr madvise 2 ,
|
||||
.Xr minherit 2 ,
|
||||
.Xr mmap 2 ,
|
||||
.Xr mprotect 2 ,
|
||||
and
|
||||
.Xr msync 2 , and
|
||||
.Xr munmap 2
|
||||
to pages marked immutable will return with error
|
||||
.Er EPERM .
|
||||
|
@ -71,8 +74,12 @@ The virtual address range specified by the
|
|||
and
|
||||
.Fa len
|
||||
arguments is not valid.
|
||||
.It Bq Er EPERM
|
||||
At least one page has inheritance of
|
||||
.Dv MAP_INHERIT_ZERO .
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr minherit 2 ,
|
||||
.Xr mmap 2 ,
|
||||
.Xr mprotect 2 ,
|
||||
.Xr munmap 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue