diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-10-07 05:01:45 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-10-07 05:01:45 +0000 |
commit | 348bad221e7f3ff99be538bf6487bbb365bb5a65 (patch) | |
tree | 52326e1ce4feccdebe3bf34098ad64822592661d /sys/uvm | |
parent | ef1f41404a494f1767c1eececfd7fbf688871843 (diff) |
new UVM_ET_IMMUTABLE flag marks a uvm entry as immutable.
Diffstat (limited to 'sys/uvm')
-rw-r--r-- | sys/uvm/uvm.h | 3 |
1 files changed, 2 insertions, 1 deletions
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) |