From: deraadt Date: Fri, 7 Oct 2022 05:01:44 +0000 (+0000) Subject: new UVM_ET_IMMUTABLE flag marks a uvm entry as immutable. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=98e0f209525e68cace50d84e7619939437b751bb;p=openbsd new UVM_ET_IMMUTABLE flag marks a uvm entry as immutable. --- 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)