From afe8b40247533d9093fcc5a8c1ca88e4e8d80e62 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 6 Mar 2024 12:59:18 -0500 Subject: kernel: kern_loader: Add AT_* defines Signed-off-by: Ian Moffett --- sys/include/sys/loader.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'sys/include') 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 +#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; -- cgit v1.2.3