diff options
author | dzwdz | 2022-07-18 23:55:58 +0200 |
---|---|---|
committer | dzwdz | 2022-07-18 23:55:58 +0200 |
commit | 96f41ff64d8113307f1b60d2eb6852423db34d14 (patch) | |
tree | 5a85a9706a2a11d047f7f5c91f4964bd2167b1ee /src/kernel/proc.h | |
parent | 121794214fd5ae36609c30418dfaf1a073b8784c (diff) |
syscalls: implement execbuf
i have been planning to implement something like this for a while now.
it should be faster when doing consecutive syscalls (to be tested).
it will also be helpful in writing the elf loader
Diffstat (limited to 'src/kernel/proc.h')
-rw-r--r-- | src/kernel/proc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kernel/proc.h b/src/kernel/proc.h index c400f7d..c642a42 100644 --- a/src/kernel/proc.h +++ b/src/kernel/proc.h @@ -57,6 +57,12 @@ struct process { struct vfs_mount *mount; + struct { + void *buf; + size_t len; + size_t pos; + } execbuf; + struct handle *handles[HANDLE_MAX]; }; |