mirror of
https://github.com/drasko/codezero.git
synced 2026-02-23 07:13:15 +01:00
Task initally exec'ing with success. Some errors need to be investigated.
- Directory creation, file read/write is OK. - Cannot reuse old task's fds. They are not recycled for some reason. - Problems with fork/clone/exit. They fail for a reason.
This commit is contained in:
@@ -7,9 +7,7 @@
|
||||
#ifndef __EXIT_H__
|
||||
#define __EXIT_H__
|
||||
|
||||
#define EXIT_THREAD_DESTROY (1 << 0)
|
||||
#define EXIT_UNMAP_ALL_SPACE (1 << 1)
|
||||
void do_exit(struct tcb *task, int status);
|
||||
int execve_recycle_task(struct tcb *task);
|
||||
|
||||
|
||||
void do_exit(struct tcb *task, unsigned int flags, int status);
|
||||
#endif /* __EXIT_H__ */
|
||||
|
||||
Reference in New Issue
Block a user