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:
parent
e24b0aa682
commit
919629d4e4
@ -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>
|
||||
|
19
regress/bin/systrace/symlink/Makefile
Normal file
19
regress/bin/systrace/symlink/Makefile
Normal 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>
|
15
regress/bin/systrace/symlink/ln.policy
Normal file
15
regress/bin/systrace/symlink/ln.policy
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user