summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-03-06 12:59:18 -0500
committerIan Moffett <ian@osmora.org>2024-03-06 12:59:18 -0500
commitafe8b40247533d9093fcc5a8c1ca88e4e8d80e62 (patch)
treefa0eb142ca6a5dcefcce1efa801f90b4bf556548 /sys/include
parente7dd2f1e547f895a5e3e0c9507b846984971d544 (diff)
kernel: kern_loader: Add AT_* defines
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/loader.h12
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;