git: b4431e95542a - main - vm/vm_map.h: extend number of digits in vm_map flags definitions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Dec 2024 03:28:36 UTC
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=b4431e95542a4edddf8c677ec275201dfde71a2f commit b4431e95542a4edddf8c677ec275201dfde71a2f Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2024-12-07 23:58:35 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2024-12-09 03:27:44 +0000 vm/vm_map.h: extend number of digits in vm_map flags definitions Reviewed by: alc Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D47934 --- sys/vm/vm_map.h | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/sys/vm/vm_map.h b/sys/vm/vm_map.h index ed1106734951..caed29bd23cf 100644 --- a/sys/vm/vm_map.h +++ b/sys/vm/vm_map.h @@ -225,14 +225,17 @@ struct vm_map { /* * vm_flags_t values */ -#define MAP_WIREFUTURE 0x01 /* wire all future pages */ -#define MAP_BUSY_WAKEUP 0x02 /* thread(s) waiting on busy state */ -#define MAP_IS_SUB_MAP 0x04 /* has parent */ -#define MAP_ASLR 0x08 /* enabled ASLR */ -#define MAP_ASLR_IGNSTART 0x10 /* ASLR ignores data segment */ -#define MAP_REPLENISH 0x20 /* kmapent zone needs to be refilled */ -#define MAP_WXORX 0x40 /* enforce W^X */ -#define MAP_ASLR_STACK 0x80 /* stack location is randomized */ +#define MAP_WIREFUTURE 0x00000001 /* wire all future pages */ +#define MAP_BUSY_WAKEUP 0x00000002 /* thread(s) waiting on busy + state */ +#define MAP_IS_SUB_MAP 0x00000004 /* has parent */ +#define MAP_ASLR 0x00000008 /* enabled ASLR */ +#define MAP_ASLR_IGNSTART 0x00000010 /* ASLR ignores data segment */ +#define MAP_REPLENISH 0x00000020 /* kmapent zone needs to be + refilled */ +#define MAP_WXORX 0x00000040 /* enforce W^X */ +#define MAP_ASLR_STACK 0x00000080 /* stack location is + randomized */ #ifdef _KERNEL #if defined(KLD_MODULE) && !defined(KLD_TIED)