aboutsummaryrefslogtreecommitdiff
blob: 8fe5c75e3895a9dcdc32d5c6b9101ab80c6329a4 (plain)
1
2
3
4
5
6
7
8
9
#!/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