aboutsummaryrefslogtreecommitdiff
path: root/src/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/proc.c')
-rw-r--r--src/proc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/proc.c b/src/proc.c
index 090ae20..0283117 100644
--- a/src/proc.c
+++ b/src/proc.c
@@ -46,9 +46,7 @@ stat_t init_proc(void *fdt, vm_t *proc_fdt, vm_t *proc_initrd)
t->notify_id = t->tid;
/* init process has all capabilities */
- set_caps(t->caps,
- CAP_CAPS | CAP_PROC | CAP_SIGNAL | CAP_POWER | CAP_NOTIFY |
- CAP_SHARED);
+ set_caps(t->caps, ~0);
/* we shall try to map the fdt and initrd into the new address space, so
* save them here before we switch */