DragonFlyBSD Kernel Audit
DF-0749 / build.sh
← back to finding ↓ download raw
1
2
3
4
5
6
7
8
9
#!/bin/sh
# DF-0749 build: compile the C trigger (optional; the shell trigger is
# sufficient).  Run as the unprivileged user — it never runs unprivileged,
# but it has to compile cleanly under cc.
set -e
cd "$(dirname "$0")"
cc -O0 -g -Wall -Wextra -o trigger trigger.c
echo "BUILD_EXIT=$?"
ls -l trigger