#!/bin/sh
#
# Ensure that fchmod() doesn't trigger spurious violations in the most
# basic of cases.
addwrite $PWD
# This should not trigger a violation.
rm -f file
touch file
fchmod-0 0644 file || exit 1
SB_CHECK(1)
SB_CHECK(2)
# Ensure that fchown() doesn't trigger spurious violations in the most
fchown-0 ${SB_UID} ${SB_GID} file || exit 1
-