summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsemarie <semarie@openbsd.org>2015-10-18 12:26:21 +0000
committersemarie <semarie@openbsd.org>2015-10-18 12:26:21 +0000
commit14758fd5332a7ccffae659c6e5306a5d9196f666 (patch)
treef13a3ce10ac6bf7fcd5441e751c231121c84778d
parentregress pledge: tweak a bit the manner to grab hte syscall number (diff)
downloadwireguard-openbsd-14758fd5332a7ccffae659c6e5306a5d9196f666.tar.xz
wireguard-openbsd-14758fd5332a7ccffae659c6e5306a5d9196f666.zip
regress pledge: cmsg is deprecated
-rw-r--r--regress/sys/kern/pledge/generic/tests.out4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/sys/kern/pledge/generic/tests.out b/regress/sys/kern/pledge/generic/tests.out
index f4048d8edb5..f8f253287d5 100644
--- a/regress/sys/kern/pledge/generic/tests.out
+++ b/regress/sys/kern/pledge/generic/tests.out
@@ -1,4 +1,4 @@
-# $OpenBSD: tests.out,v 1.2 2015/10/09 11:38:05 semarie Exp $
+# $OpenBSD: tests.out,v 1.3 2015/10/18 12:26:21 semarie Exp $
test(test_nop): pledge=("",NULL) status=0 exit=0
test(test_inet): pledge=("",NULL) status=9 signal=9 pledged_syscall=97
test(test_inet): pledge=("abort",NULL) status=134 signal=6 coredump=present pledged_syscall=97
@@ -15,7 +15,7 @@ test(test_allowed_syscalls): pledge=("inet",NULL) status=0 exit=0
test(test_allowed_syscalls): pledge=("unix",NULL) status=0 exit=0
test(test_allowed_syscalls): pledge=("dns",NULL) status=0 exit=0
test(test_allowed_syscalls): pledge=("getpw",NULL) status=0 exit=0
-test(test_allowed_syscalls): pledge=("cmsg",NULL) status=9 signal=9 pledged_syscall=89
+test(test_allowed_syscalls): pledge=("cmsg",NULL) status=5632 exit=22 (errno: "Invalid argument")
test(test_allowed_syscalls): pledge=("ioctl",NULL) status=9 signal=9 pledged_syscall=89
test(test_allowed_syscalls): pledge=("proc",NULL) status=9 signal=9 pledged_syscall=89
test(test_allowed_syscalls): pledge=("cpath",NULL) status=9 signal=9 pledged_syscall=89