diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2026-01-24 23:24:45 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2026-01-24 23:24:45 +0200 |
| commit | 6fb77c70559782a9928432af5cc6f83906a530c1 (patch) | |
| tree | 5fee1c302e088445576e6c6bccac8414f8e34377 /src/proc.c | |
| parent | 1eaac15cdb220df7536c74774a1ce7d1f0519c63 (diff) | |
| download | kmi-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.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 */ |
