#!/bin/sh # basic functionality check (violations are caught) addwrite $PWD touch file || exit 1 adddeny $PWD linkat-0 -1,EACCES AT_FDCWD file AT_FDCWD file-linked 0 || exit 1 test -s sandbox.log