DragonFlyBSD Kernel Audit
DF-0540 / run.sh
← back to finding ↓ download raw
1
2
3
4
5
6
7
#!/bin/sh
# DF-0540: not runnable on this guest. Confirm netbt/BT absence.
cd "$(dirname "$0")"
echo "l2cap_recv_signal in kernel? $(nm /boot/kernel/kernel 2>/dev/null | grep -c l2cap_recv_signal) symbols"
echo "options bluetooth in GENERIC? $(grep -ci bluetooth /usr/src/sys/config/X86_64_GENERIC)"
echo "BT/HCI hardware?              $(devinfo 2>/dev/null | grep -ciE 'hci|netbt|bluetooth')"
echo "=> info leak is latent (dead code) on this guest; source trace in VERDICT.md"