1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00

failing qt4 test case.

This commit is contained in:
espie 2006-08-10 09:00:20 +00:00
parent e24b0aa682
commit 919629d4e4
3 changed files with 36 additions and 1 deletions

View File

@ -1,5 +1,6 @@
# $OpenBSD: Makefile,v 1.1 2004/01/15 17:14:43 sturm Exp $
# $OpenBSD: Makefile,v 1.2 2006/08/10 09:00:20 espie Exp $
SUBDIR+= id
SUBDIR+= symlink
.include <bsd.subdir.mk>

View File

@ -0,0 +1,19 @@
# $OpenBSD: Makefile,v 1.1 2006/08/10 09:00:20 espie Exp $
REGRESS_TARGETS=symlink1
symlink1:
rm -f ${.OBJDIR}/{a,b}
ln -sf b ${.OBJDIR}/a
if systrace -ae -f ${.CURDIR}/ln.policy ln -s b ${.OBJDIR}/a; then \
exit 1; \
fi
if test -e ${.OBJDIR}/b; then \
exit 1; \
fi
.PHONY: ${REGRESS_TARGETS}
CLEANFILES+= a b
.include <bsd.regress.mk>

View File

@ -0,0 +1,15 @@
# $OpenBSD: ln.policy,v 1.1 2006/08/10 09:00:20 espie Exp $
Policy: /bin/ln, Emulation: native
native-__sysctl: permit
native-mmap: permit
native-mprotect: permit
native-fsread: permit
native-symlink: filename match "/*" then permit
native-munmap: permit
native-exit: permit
native-write: permit
native-issetugid: permit
native-fstat: permit
native-close: permit