summaryrefslogtreecommitdiff
path: root/bpfc
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2015-12-15 23:09:11 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-12-17 09:42:00 +0100
commit52726714c29c3442d3675da4fe888d565988d5db (patch)
treecf802c3dd4e64574ddadfa692246b26f49aff3a6 /bpfc
parent1e3a2970549d294a1ab31f3088cbdcc2affbba42 (diff)
cpp: Use new proc_exec function to invoke cpp
Replace 'system' call by proc_exec function from proc.c module. It allows to easy extend cpp invoking with additional options (like -D) in more secure way. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'bpfc')
-rw-r--r--bpfc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/bpfc/Makefile b/bpfc/Makefile
index f011706..7e6fd45 100644
--- a/bpfc/Makefile
+++ b/bpfc/Makefile
@@ -7,6 +7,7 @@ bpfc-objs = xmalloc.o \
bpf_parser.tab.o \
die.o \
sysctl.o \
+ proc.o \
cpp.o \
bpfc.o