summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Marie <semarie@cvs.openbsd.org>2015-10-18 12:26:22 +0000
committerSebastien Marie <semarie@cvs.openbsd.org>2015-10-18 12:26:22 +0000
commit4457a5c4f845095224d984a72a2017e4b24a5023 (patch)
tree5df9050c45855ce45bf9c77814eff34d72635021
parent7cd83d05699c46a2db6f27125be7dec49f7090ff (diff)
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