DragonFlyBSD Kernel Audit
DF-2685 / run.sh
← back to finding ↓ download raw
1
2
3
4
5
6
7
#!/bin/sh
# DF-2685 run: execute the trigger.  Needs the guest's swap active and more
# anonymous memory than RAM (4GB RAM, 4GB swap in the reference guest).
# Expected STOCK output:  "BUG REPRODUCED: mlock zero-filled swapped pages", rc=2
# Expected PATCHED output: "OK: data intact after mlock", rc=0
/tmp/mt/mlockswap
echo "rc=$?"