From 6a6717b1e4f3f85a09fa48ee11e5421771995493 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 26 Apr 2024 16:38:41 -0400 Subject: kernel: Implement basic loader_unload() Signed-off-by: Ian Moffett --- sys/include/sys/loader.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/include') diff --git a/sys/include/sys/loader.h b/sys/include/sys/loader.h index 297c18d..9b38a55 100644 --- a/sys/include/sys/loader.h +++ b/sys/include/sys/loader.h @@ -62,6 +62,7 @@ struct auxval { #if defined(_KERNEL) +int loader_unload(struct vas vas, struct vm_range *exec_range); int loader_load(struct vas vas, const void *dataptr, struct auxval *auxv, size_t load_base, char **ld_path, struct vm_range *prog_range); -- cgit v1.2.3