DF-2597 / run.sh
#!/bin/sh # DF-2597 run — probes whether TCP_SIGNATURE is reachable on the running kernel. # Exit 0/5 semantics handled inside poc.c: # RUN_EXIT=5 -> TCP_SIGNATURE not compiled in (setsockopt ENOPROTOOPT); # the overflow code path is dead/unreachable on this kernel. # RUN_EXIT=0 -> TCP_SIGNATURE compiled in; SYN emit attempted (would overflow # opt[] on the unpatched code). set -e cd "$(dirname "$0")" ./poc 18097 echo "RUN_EXIT=$?" |