]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Disable the invalid pointer test on FreeBSD
authorngie <ngie@FreeBSD.org>
Fri, 10 Oct 2014 19:28:57 +0000 (19:28 +0000)
committerngie <ngie@FreeBSD.org>
Fri, 10 Oct 2014 19:28:57 +0000 (19:28 +0000)
commitd20db9d537a86bd3d2904192e5fa0a74b9decc7a
treee64a9465cd8487e469ba38bfedcf0b0197c98ef6
parent2b6232c7be171d19228e79a5f2e3f76f15342612
Disable the invalid pointer test on FreeBSD

FreeBSD segfaults on invalid pointers passed to getcwd because it throbs the
address passed in in libc, whereas NetBSD just passes the information off to
the syscall, which allows the kernel to return EFAULT on bad pointers.

In collaboration with: pho
Sponsored by: EMC / Isilon Storage Division
contrib/netbsd-tests/lib/libc/gen/t_getcwd.c