From 5d0e6ce144629888fbcf4e443e494dc0d7197672 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 18 Jul 2024 21:03:08 -0400 Subject: kernel: elf: Keep track of program start and end Signed-off-by: Ian Moffett --- sys/include/sys/exec.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/include') diff --git a/sys/include/sys/exec.h b/sys/include/sys/exec.h index 2c85010..08ddac6 100644 --- a/sys/include/sys/exec.h +++ b/sys/include/sys/exec.h @@ -73,6 +73,8 @@ struct exec_prog { struct auxval auxval; char **argp; char **envp; + vaddr_t start; + vaddr_t end; }; struct execve_args { -- cgit v1.2.3