aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc/proc.h
diff options
context:
space:
mode:
authorMarvin Borner2021-04-06 22:20:58 +0200
committerMarvin Borner2021-04-06 22:35:13 +0200
commit64ec8aa157e5d5d09372def37cbab00628e1e5f5 (patch)
tree13d0c864780a62506d40266fa6f2ab9571cbd216 /kernel/inc/proc.h
parent9326d3970fe6eedbcb042ac68aca3074aacef32f (diff)
Made exec syscall relative using app name
My plan is to implement a mobile-OS-like sandboxing using manifests and permission middlewares. Let's see if I can manage to do this without sacrificing too much performance. I'm also wondering whether I should implement open/close syscalls which would result in a cleaner block/unblock mechanism. I need to think. Hmmm.. Naa
Diffstat (limited to 'kernel/inc/proc.h')
-rw-r--r--kernel/inc/proc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/inc/proc.h b/kernel/inc/proc.h
index d20a1b0..dcc2eeb 100644
--- a/kernel/inc/proc.h
+++ b/kernel/inc/proc.h
@@ -53,7 +53,8 @@ struct stream {
struct proc {
u32 pid;
u32 entry;
- char name[32];
+ char name[64];
+ char dir[64];
struct stream streams[4];
struct page_dir *page_dir;
struct regs regs;