aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-08-24 17:19:41 -0400
committerMike Frysinger <vapier@gentoo.org>2015-08-24 17:19:41 -0400
commit9d0a60f489c17e47e08aa5ec09da8d7049e402ea (patch)
treea5b83ecf48ee5c44e7cd2b1630797800ece8cf0b /paxinc.h
parentsecurity: clean up syscall ifdefs (diff)
downloadpax-utils-9d0a60f489c17e47e08aa5ec09da8d7049e402ea.tar.gz
pax-utils-9d0a60f489c17e47e08aa5ec09da8d7049e402ea.tar.bz2
pax-utils-9d0a60f489c17e47e08aa5ec09da8d7049e402ea.zip
build: add plumbing for building w/debug code
For cases where we want extra debug messages, add some debug knobs. This will be used in a follow up commit to make it easier to triage seccomp failures.
Diffstat (limited to 'paxinc.h')
-rw-r--r--paxinc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/paxinc.h b/paxinc.h
index a8d6d9b..e687b3a 100644
--- a/paxinc.h
+++ b/paxinc.h
@@ -22,6 +22,12 @@
# define VCSID "<unknown>"
#endif
+#ifdef EBUG
+# define USE_DEBUG 1
+#else
+# define USE_DEBUG 0
+#endif
+
/* ELF love */
#include "elf.h"
#include "paxelf.h"