summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-04-26 16:38:41 -0400
committerIan Moffett <ian@osmora.org>2024-04-26 16:42:51 -0400
commit6a6717b1e4f3f85a09fa48ee11e5421771995493 (patch)
treedfd891a4633bf03b14b296fd22f70c7f16485286 /sys/include
parentf5b5210cd6c6f62f012c9fd894f5e2a2bb328cb0 (diff)
kernel: Implement basic loader_unload()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/loader.h1
1 files changed, 1 insertions, 0 deletions
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);