diff options
author | brooks <brooks@FreeBSD.org> | 2017-05-15 22:41:01 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2017-05-15 22:41:01 +0000 |
commit | 83379d6a8d78669552953e860ff82b47ee49d390 (patch) | |
tree | d1a72a78a86c411d86c3586afd00eb8b5befc302 /contrib/netbsd-tests/lib/libc | |
parent | f01e7bdca8673da4c93750765c20f2446363910c (diff) | |
download | FreeBSD-src-83379d6a8d78669552953e860ff82b47ee49d390.zip FreeBSD-src-83379d6a8d78669552953e860ff82b47ee49d390.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/libc')
-rw-r--r-- | contrib/netbsd-tests/lib/libc/rpc/t_rpc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c b/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c index e5d4321..59bcd55 100644 --- a/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c +++ b/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c @@ -325,10 +325,6 @@ ATF_TC_HEAD(raw, tc) ATF_TC_BODY(raw, tc) { -#ifdef __FreeBSD__ - atf_tc_expect_fail("fails with: clnt_call: " - "RPC: Can't decode result -- PR # 211804"); -#endif rawtest(NULL); } |