From 98e0f209525e68cace50d84e7619939437b751bb Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 7 Oct 2022 05:01:44 +0000 Subject: [PATCH] new UVM_ET_IMMUTABLE flag marks a uvm entry as immutable. --- sys/uvm/uvm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/uvm/uvm.h b/sys/uvm/uvm.h index 672e415a623..1ed1e493d21 100644 --- a/sys/uvm/uvm.h +++ b/sys/uvm/uvm.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm.h,v 1.70 2022/09/29 04:10:27 deraadt Exp $ */ +/* $OpenBSD: uvm.h,v 1.71 2022/10/07 05:01:44 deraadt Exp $ */ /* $NetBSD: uvm.h,v 1.24 2000/11/27 08:40:02 chs Exp $ */ /* @@ -92,6 +92,7 @@ struct uvm { #define UVM_ET_WC 0x0080 /* write combining */ #define UVM_ET_CONCEAL 0x0100 /* omit from dumps */ #define UVM_ET_SYSCALL 0x0200 /* syscall text segment */ +#define UVM_ET_IMMUTABLE 0x0400 /* entry may not be changed */ #define UVM_ET_FREEMAPPED 0x8000 /* map entry is on free list (DEBUG) */ #define UVM_ET_ISOBJ(E) (((E)->etype & UVM_ET_OBJ) != 0) -- 2.20.1