DragonFlyBSD Kernel Audit
DF-0930 / run.sh
← back to finding ↓ download raw
#!/bin/sh
# DF-0930 run: race concurrent ntfs_ntlookup for the same inode
# Prerequisites (run as root before invoking this):
#   kldload ntfs
#   vnconfig -c vn0 /root/ntfs_file.img
#   mount_ntfs -o ro /dev/vn0 /mnt/ntfs
#   sysctl kern.maxvnodes=100   # force aggressive vnode recycling
set -e
cd "$(dirname "$0")"
./race_ntfs /mnt/ntfs/target 60