sys/sysent.h: align SV_* flags values, provide full 32bit

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
This commit is contained in:
Konstantin Belousov committed 2026-10-20 23:55:16 +03:00
1 parent 40582412d3
commit dca0b0ad8b
1 file changed
+13 -13
+13 -13
View File
@@ -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))