diff options
author | Ian Moffett <ian@osmora.org> | 2024-03-06 12:59:18 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-03-06 12:59:18 -0500 |
commit | afe8b40247533d9093fcc5a8c1ca88e4e8d80e62 (patch) | |
tree | fa0eb142ca6a5dcefcce1efa801f90b4bf556548 /sys | |
parent | e7dd2f1e547f895a5e3e0c9507b846984971d544 (diff) |
kernel: kern_loader: Add AT_* defines
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/include/sys/loader.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/include/sys/loader.h b/sys/include/sys/loader.h index 9691a95..6107da2 100644 --- a/sys/include/sys/loader.h +++ b/sys/include/sys/loader.h @@ -32,6 +32,18 @@ #include <sys/types.h> +#define AT_NULL 0 +#define AT_IGNORE 1 +#define AT_EXECFD 2 +#define AT_PHDR 3 +#define AT_PHENT 4 +#define AT_PHNUM 5 +#define AT_PAGESZ 6 +#define AT_BASE 7 +#define AT_FLAGS 8 +#define AT_ENTRY 9 +#define AT_SECURE 10 + /* Auxiliary Vector */ struct auxval { uint64_t at_entry; |