#!/bin/sh
# inside guest as root, with the DF-5740 rig loaded and hw.hsh_setup=1:
#   su maxx -c ./bypass     -> baseline: RESET QUEUED (bypass)
#                            -> fixed  : EPERM
cc -O -o bypass bypass.c
echo "--- as unprivileged user:"
su maxx -c ./bypass
echo "--- as root (control):"
./bypass
