From 64ec8aa157e5d5d09372def37cbab00628e1e5f5 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 6 Apr 2021 22:20:58 +0200 Subject: 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 --- apps/init/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/init/init.c') diff --git a/apps/init/init.c b/apps/init/init.c index a7d07df..6e06dbe 100644 --- a/apps/init/init.c +++ b/apps/init/init.c @@ -9,8 +9,8 @@ int main(int argc, char **argv) UNUSED(argc); UNUSED(argv); - assert(exec("/bin/wm", "wm", NULL) == EOK); - /* assert(exec("/bin/chess", "chess", NULL) == EOK); */ + assert(exec("wm", NULL) == EOK); + /* assert(exec("chess", NULL) == EOK); */ return 0; } -- cgit v1.2.3