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/wm/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/wm/Makefile') diff --git a/apps/wm/Makefile b/apps/wm/Makefile index 66f68f6..48ed1d3 100644 --- a/apps/wm/Makefile +++ b/apps/wm/Makefile @@ -3,7 +3,8 @@ OBJS = wm.o all: $(OBJS) - @$(LD) -o $(BUILD)/apps/wm $(LDFLAGS) $< -lgui -ltxt -lc + @mkdir -p $(BUILD)/apps/wm/ + @$(LD) -o $(BUILD)/apps/wm/exec $(LDFLAGS) $< -lgui -ltxt -lc clean: @$(RM) -f $(OBJS) -- cgit v1.2.3