From 9b656d3e3975198e1048fd6d522c5dd1e7e978d1 Mon Sep 17 00:00:00 2001 From: deraadt Date: Sun, 21 Jan 2024 17:00:42 +0000 Subject: [PATCH] Add Xr mimmutable to manual pages which discuss immutable memory. prodding from kettenis --- lib/libc/sys/mprotect.2 | 5 +++-- lib/libc/sys/munmap.2 | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/libc/sys/mprotect.2 b/lib/libc/sys/mprotect.2 index f8d964f03e1..1c33f68bd05 100644 --- a/lib/libc/sys/mprotect.2 +++ b/lib/libc/sys/mprotect.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mprotect.2,v 1.27 2022/10/07 15:21:04 deraadt Exp $ +.\" $OpenBSD: mprotect.2,v 1.28 2024/01/21 17:00:42 deraadt Exp $ .\" $NetBSD: mprotect.2,v 1.6 1995/10/12 15:41:08 jtc Exp $ .\" .\" Copyright (c) 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)mprotect.2 8.1 (Berkeley) 6/9/93 .\" -.Dd $Mdocdate: October 7 2022 $ +.Dd $Mdocdate: January 21 2024 $ .Dt MPROTECT 2 .Os .Sh NAME @@ -121,6 +121,7 @@ specify a region which contains at least one page marked immutable. .El .Sh SEE ALSO .Xr madvise 2 , +.Xr mimmutable 2 , .Xr msync 2 , .Xr munmap 2 .Sh STANDARDS diff --git a/lib/libc/sys/munmap.2 b/lib/libc/sys/munmap.2 index 9b5df765307..23d965242cb 100644 --- a/lib/libc/sys/munmap.2 +++ b/lib/libc/sys/munmap.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: munmap.2,v 1.20 2022/10/07 15:21:04 deraadt Exp $ +.\" $OpenBSD: munmap.2,v 1.21 2024/01/21 17:00:42 deraadt Exp $ .\" $NetBSD: munmap.2,v 1.5 1995/02/27 12:35:03 cgd Exp $ .\" .\" Copyright (c) 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)munmap.2 8.2 (Berkeley) 4/15/94 .\" -.Dd $Mdocdate: October 7 2022 $ +.Dd $Mdocdate: January 21 2024 $ .Dt MUNMAP 2 .Os .Sh NAME @@ -72,6 +72,7 @@ specify a region which contains at least one page marked immutable. .El .Sh SEE ALSO .Xr madvise 2 , +.Xr mimmutable 2 , .Xr mlock 2 , .Xr mlockall 2 , .Xr mmap 2 , -- 2.20.1