aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-01-16 19:41:34 +0000
committerOmar Polo <op@omarpolo.com>2021-01-16 19:41:34 +0000
commit881a9dd9c2aebbf73f333dd3d8be4ce5400f717f (patch)
treef3177f9b6c2d956f25c6ca46fd036eadf96370ec /Makefile
parentbd726b55be4df8535a2b200a252193649566007a (diff)
split into two processes: listener and executor
this way, we can sandbox the listener with seccomp (todo) or capsicum (already done) and still have CGI scripts. When we want to exec, we tell the executor what to do, the executor executes the scripts and send the fd backt to the listener.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d2e6c7b..6301b46 100644
--- a/Makefile
+++ b/Makefile
@@ -14,12 +14,12 @@ lex.yy.c: lex.l y.tab.c
y.tab.c: parse.y
${YACC} -b y -d parse.y
-OBJS = gmid.o iri.o utf8.o lex.yy.o y.tab.o cgi.o sandbox.o
+OBJS = gmid.o iri.o utf8.o lex.yy.o y.tab.o ex.o cgi.o sandbox.o
gmid: ${OBJS}
${CC} ${OBJS} -o gmid ${LDFLAGS}
-TAGS: gmid.c iri.c utf8.c
- -etags gmid.c iri.c utf8.c || true
+TAGS: gmid.c iri.c utf8.c ex.c cgi.c sandbox.c
+ -etags gmid.c iri.c utf8.c ex.c cgi.c sandbox.c || true
clean:
rm -f *.o lex.yy.c y.tab.c y.tab.h y.output gmid iri_test