From 28990d31ab8425bdc75d2fec8becc0a993cd2250 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 25 Apr 2024 23:53:17 -0400 Subject: kernel: sched: Use exec_args for argp, envp, etc Signed-off-by: Ian Moffett --- sys/include/sys/proc.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sys/include') diff --git a/sys/include/sys/proc.h b/sys/include/sys/proc.h index f74d1da..8c1b959 100644 --- a/sys/include/sys/proc.h +++ b/sys/include/sys/proc.h @@ -34,6 +34,7 @@ #include #include #include +#include #include #include #include @@ -43,6 +44,12 @@ #define PROC_MAX_FDS 256 #define PROC_MAX_ADDR_RANGE 4 +struct exec_args { + char **argp, **envp; + struct auxval auxv; + struct vas vas; +}; + enum { ADDR_RANGE_EXEC = 0, /* Program address range */ ADDR_RANGE_STACK /* Stack address range */ -- cgit v1.2.3