DragonFlyBSD Kernel Audit
DF-0839 / run.sh
← back to finding ↓ download raw
1
2
3
4
5
6
7
8
9
#!/bin/sh
# Run the DF-0839 trigger against a file on a mounted HAMMER filesystem.
# Must be run as root (HAMMERIOC_SET_VERSION requires SYSCAP_NOVFS_IOCTL).
# Argument: path to a file on the HAMMER mount.
if [ $# -lt 1 ]; then
    echo "usage: $0 <file-on-hammer-mount>"
    exit 2
fi
./trigger "$1" probe