aboutsummaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorMarvin Borner2021-04-06 22:20:58 +0200
committerMarvin Borner2021-04-06 22:35:13 +0200
commit64ec8aa157e5d5d09372def37cbab00628e1e5f5 (patch)
tree13d0c864780a62506d40266fa6f2ab9571cbd216 /boot
parent9326d3970fe6eedbcb042ac68aca3074aacef32f (diff)
Made exec syscall relative using app name
My plan is to implement a mobile-OS-like sandboxing using manifests and permission middlewares. Let's see if I can manage to do this without sacrificing too much performance. I'm also wondering whether I should implement open/close syscalls which would result in a cleaner block/unblock mechanism. I need to think. Hmmm.. Naa
Diffstat (limited to 'boot')
-rw-r--r--boot/load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/load.c b/boot/load.c
index a3566f4..12102a2 100644
--- a/boot/load.c
+++ b/boot/load.c
@@ -893,7 +893,7 @@ int main(void *first, void *second)
u8 drive = ata_probe();
assert(drive);
- s32 elf = elf_load("/bin/kernel", drive);
+ s32 elf = elf_load("/apps/kernel/exec", drive);
assert(elf > 0);
void (*kernel)(void *, void *);