==== mount ==== mkdir -p /mnt/regress-mfs_noperm mount_mfs -s1M -o noperm swap /mnt/regress-mfs_noperm ==== run-regress-locked ==== cc -O2 -pipe -MD -MP -c /home/src/regress/sys/mfs_noperm/nopermtest.c cc -o nopermtest nopermtest.o chown root:wheel /mnt/regress-mfs_noperm chmod 700 /mnt/regress-mfs_noperm su build -c './nopermtest /mnt/regress-mfs_noperm locked' ==== run-regress-unlocked ==== chown build /mnt/regress-mfs_noperm chmod 700 /mnt/regress-mfs_noperm su build -c './nopermtest /mnt/regress-mfs_noperm unlocked' ==== umount ==== umount -f /mnt/regress-mfs_noperm || true rmdir /mnt/regress-mfs_noperm || true