git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support to multi-threading and pthread interface (POSIX.1-2008) (#23)
[lunaix-os.git]
/
lunaix-os
/
includes
/
lunaix
/
exec.h
diff --git
a/lunaix-os/includes/lunaix/exec.h
b/lunaix-os/includes/lunaix/exec.h
index f872271bb649a6667300bc9cfac0be490953b93a..a49845e9724cf77a504327f3c463db953dcd16be 100644
(file)
--- a/
lunaix-os/includes/lunaix/exec.h
+++ b/
lunaix-os/includes/lunaix/exec.h
@@
-43,7
+43,7
@@
struct uexec_param
char** argv;
int envc;
char** envp;
char** argv;
int envc;
char** envp;
-}
PACKED
;
+}
compact
;
#ifndef __USR_WRAPPER__
#ifndef __USR_WRAPPER__
@@
-56,6
+56,13
@@
exec_load(struct exec_container* container, struct v_file* executable);
int
exec_kexecve(const char* filename, const char* argv[], const char* envp[]);
int
exec_kexecve(const char* filename, const char* argv[], const char* envp[]);
+void
+exec_init_container(struct exec_container* param,
+ struct thread* thread,
+ ptr_t vms,
+ const char** argv,
+ const char** envp);
+
#endif
#endif /* __LUNAIX_LOADER_H */
#endif
#endif /* __LUNAIX_LOADER_H */