diff --git a/Makefile b/Makefile index 3c5a740..633deec 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,8 @@ CC ?= gcc PREFIX ?= /usr/local -libexecwhitelist.so: libexecwhitelist.c +sandbox.so: sandbox.c $(CC) $^ $(CFLAGS) -fPIC -ldl -shared -lseccomp -o $@ clean: - rm -f libexecwhitelist.so - -install: libexecwhitelist.so - install -m555 -oroot -groot -s libexecwhitelist.so $(PREFIX)/lib/libexecwhitelist.so + rm -f sandbox.so diff --git a/libexecwhitelist.c b/sandbox.c similarity index 100% rename from libexecwhitelist.c rename to sandbox.c