summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2017-05-15 23:13:49 +0000
committerbrooks <brooks@FreeBSD.org>2017-05-15 23:13:49 +0000
commit00a030b288ed6acc550a0a4914b72b54966a5273 (patch)
treed96f31d598a40545372e984b02f4375da1d4f4da /contrib/netbsd-tests/lib
parent55f52c0df184d00af839c0781e20e389b1fb1d65 (diff)
downloadFreeBSD-src-00a030b288ed6acc550a0a4914b72b54966a5273.zip
FreeBSD-src-00a030b288ed6acc550a0a4914b72b54966a5273.tar.gz
MFC r317660, r317710
r317660: Support clnt_raw's use of FD_SETSIZE as a fake file descriptor. Accomplish this by allocating space for it in __svc_xports and allowing it to be registered. The failure to allocate space was causing an out-of-bounds read in svc_getreq_common(). The failure to register caused PR 211804. The bug was found with CHERI bounds checking. PR: 211804 Obtained from: CheriBSD Sponsored by: DARPA, AFRL Reviewed by: ngie Differential Revision: https://reviews.freebsd.org/D10528 r317710: Remove expected failure now that it was fixed in r317660. PR: 211804 Reviewed by: ngie Obtained from: CheriBSD Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D10576
Diffstat (limited to 'contrib/netbsd-tests/lib')
-rw-r--r--contrib/netbsd-tests/lib/libc/rpc/t_rpc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c b/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c
index a4f78a6..4236db4 100644
--- a/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c
+++ b/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c
@@ -335,9 +335,6 @@ ATF_TC_BODY(raw, tc)
#ifdef __FreeBSD_bug_216954__
atf_tc_expect_signal(SIGSEGV,
"fails with SIGSEGV only on ^/stable/10 -- bug # 216954");
-#else
- atf_tc_expect_fail("fails with: clnt_call: "
- "RPC: Can't decode result -- PR # 211804");
#endif
#endif
rawtest(NULL);
OpenPOWER on IntegriCloud