DF-0911 / run.sh
#!/bin/sh # DF-0911 run: unprivileged user forks a child, ATTACHes+DETACHes via /proc/<pid>/ctl, # then checks the child's ppid. On the buggy kernel the child is orphaned to proc0 # (ppid=0, waitpid=ECHILD); on the fixed kernel the child stays with its parent. cd "$(dirname "$0")" ./df0911 |