From 6fb77c70559782a9928432af5cc6f83906a530c1 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 24 Jan 2026 23:24:45 +0200 Subject: make physical memory request a capability + Seems obvious, not sure why I hadn't done it already --- src/proc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/proc.c') 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 */ -- cgit v1.3