DF-0633 / run.sh
#!/bin/sh # DF-0633 run script. # The C stub just prints documentation; the actual stress test is the shell # script df0633_test.sh which must run as root (firewall administration). # Recommended: nohup sh run.sh </dev/null >/dev/null 2>&1 & cd "$(dirname "$0")" ./args_overflow echo "---" echo "To exercise the race, run as root (loads ipfw3, breaks SSH):" echo " nohup sh df0633_test.sh 500 12 </dev/null >/dev/null 2>&1 &" echo " # then watch /tmp/df0633_result.txt" |