DF-0046 / run.sh
#!/bin/sh # DF-0046 run: execute the trigger PoC as an unprivileged user. # On the BUGGY kernel: prints "semval after four +32767 ops = 65532 ... BUG CONFIRMED" # and "wait-for-zero child RELEASED ... mutual exclusion broken". # On the FIXED kernel: exits at op2 with "Result too large" (ERANGE) -- the bug is gone. cd "$(dirname "$0")" ./sem_wrap |