From dca0b0ad8bc7df6119b04d1b766289406e3274a3 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Tue, 20 Oct 2026 20:43:58 +0300 Subject: [PATCH] sys/sysent.h: align SV_* flags values, provide full 32bit Sponsored by: The FreeBSD Foundation MFC after: 1 week --- sys/sys/sysent.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/sys/sys/sysent.h b/sys/sys/sysent.h index 8b45d0cb4dff..3589f705255a 100644 --- a/sys/sys/sysent.h +++ b/sys/sys/sysent.h @@ -163,19 +163,19 @@ struct sysentvec { struct regset **sv_regset_end; }; -#define SV_ILP32 0x000100 /* 32-bit executable. */ -#define SV_LP64 0x000200 /* 64-bit executable. */ -#define SV_RESERVED0 0x004000 /* Formerly SV_IA32 */ -#define SV_AOUT 0x008000 /* a.out executable. */ -#define SV_SHP 0x010000 /* Shared page. */ -#define SV_SIGSYS 0x020000 /* SIGSYS for non-existing syscall */ -#define SV_TIMEKEEP 0x040000 /* Shared page timehands. */ -#define SV_ASLR 0x080000 /* ASLR allowed. */ -#define SV_RNG_SEED_VER 0x100000 /* random(4) reseed generation. */ -#define SV_SIG_DISCIGN 0x200000 /* Do not discard ignored signals */ -#define SV_SIG_WAITNDQ 0x400000 /* Wait does not dequeue SIGCHLD */ -#define SV_DSO_SIG 0x800000 /* Signal trampoline packed in dso */ -#define SV_PERSISTENT_CTTY 0x1000000 /* Keep ctty after the last close */ +#define SV_ILP32 0x00000100 /* 32-bit executable. */ +#define SV_LP64 0x00000200 /* 64-bit executable. */ +#define SV_RESERVED0 0x00004000 /* Formerly SV_IA32 */ +#define SV_AOUT 0x00008000 /* a.out executable. */ +#define SV_SHP 0x00010000 /* Shared page. */ +#define SV_SIGSYS 0x00020000 /* SIGSYS for non-existing syscall */ +#define SV_TIMEKEEP 0x00040000 /* Shared page timehands. */ +#define SV_ASLR 0x00080000 /* ASLR allowed. */ +#define SV_RNG_SEED_VER 0x00100000 /* random(4) reseed generation. */ +#define SV_SIG_DISCIGN 0x00200000 /* Do not discard ignored signals */ +#define SV_SIG_WAITNDQ 0x00400000 /* Wait does not dequeue SIGCHLD */ +#define SV_DSO_SIG 0x00800000 /* Signal trampoline packed in dso */ +#define SV_PERSISTENT_CTTY 0x01000000 /* Keep ctty after the last close */ #define SV_ABI_MASK 0xff #define SV_PROC_FLAG(p, x) ((p)->p_sysent->sv_flags & (x))