DF-0846 / run.sh
#!/bin/sh # DF-0846 run: exercise the credential + vnode-ref leak. # # IMPORTANT: on the default X86_64_GENERIC kernel this returns EOPNOTSUPP # immediately (QUOTA option is not compiled in). To actually observe the # leak the kernel must be built with `options QUOTA` (e.g. via the # X86_64_QUOTA config described in VERDICT.md / fix_validation). # # Must be run as root (Q_QUOTAON requires caps_priv_check SYSCAP_NOQUOTA_WR). cd "$(dirname "$0")" ITERS="${1:-2000}" ./quotaon_leak "$ITERS" echo "RUN_EXIT=$?" |