From: semarie Date: Sun, 18 Oct 2015 12:54:25 +0000 (+0000) Subject: regress pledge: remove cmsg X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=aa66ec77a705ee50b848bfb7d89a9288acbdf952;p=openbsd regress pledge: remove cmsg it has no sens to keep it. --- diff --git a/regress/sys/kern/pledge/generic/main.c b/regress/sys/kern/pledge/generic/main.c index 89375f11b37..b19a1ac67d5 100644 --- a/regress/sys/kern/pledge/generic/main.c +++ b/regress/sys/kern/pledge/generic/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.3 2015/10/18 12:53:32 semarie Exp $ */ +/* $OpenBSD: main.c,v 1.4 2015/10/18 12:54:25 semarie Exp $ */ /* * Copyright (c) 2015 Sebastien Marie * @@ -286,7 +286,6 @@ main(int argc, char *argv[]) /* tests req without PLEDGE_SELF for "permitted syscalls" */ // XXX it is a documentation bug - start_test(&ret, "cmsg", NULL, test_allowed_syscalls); start_test(&ret, "ioctl", NULL, test_allowed_syscalls); start_test(&ret, "proc", NULL, test_allowed_syscalls); start_test(&ret, "cpath", NULL, test_allowed_syscalls); diff --git a/regress/sys/kern/pledge/generic/tests.out b/regress/sys/kern/pledge/generic/tests.out index c586d72c5fd..406d697b24d 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.4 2015/10/18 12:53:32 semarie Exp $ +# $OpenBSD: tests.out,v 1.5 2015/10/18 12:54:25 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,6 @@ 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=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