aboutsummaryrefslogtreecommitdiff
path: root/src/proc.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2026-01-24 23:24:45 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2026-01-24 23:24:45 +0200
commit6fb77c70559782a9928432af5cc6f83906a530c1 (patch)
tree5fee1c302e088445576e6c6bccac8414f8e34377 /src/proc.c
parent1eaac15cdb220df7536c74774a1ce7d1f0519c63 (diff)
downloadkmi-6fb77c70559782a9928432af5cc6f83906a530c1.tar.gz
kmi-6fb77c70559782a9928432af5cc6f83906a530c1.zip
make physical memory request a capability
+ Seems obvious, not sure why I hadn't done it already
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 */