diff options
Diffstat (limited to 'common/proc.c')
| -rw-r--r-- | common/proc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/proc.c b/common/proc.c index 270ec0c..137a2fe 100644 --- a/common/proc.c +++ b/common/proc.c @@ -39,6 +39,9 @@ stat_t init_proc(void *fdt) /* set current tcb */ use_tcb(t); + /* init process has all capabilities */ + set_caps(t->caps, 0, CAP_CAPS | CAP_PROC | CAP_CALL); + /* allocate stacks after ELF file to make sure nothing of importance * clashes */ return prepare_proc(t, get_init_base(fdt), 0); |
