1 #ifndef __LUNAIX_EXEC_H
2 #define __LUNAIX_EXEC_H
5 #include <lunaix/process.h>
6 #include <lunaix/types.h>
8 #define MAX_VAR_PAGES 8
9 #define DEFAULT_HEAP_PAGES 16
15 struct exec_container* container;
25 struct proc_info* proc;
28 struct load_context exe;
31 const char* argv_pp[2];
48 #ifndef __USR_WRAPPER__
51 exec_load_byname(struct exec_container* container, const char* filename);
54 exec_load(struct exec_container* container, struct v_file* executable);
57 exec_kexecve(const char* filename, const char* argv[], const char* envp[]);
61 #endif /* __LUNAIX_LOADER_H */