HomeFreeBSD

Disable the invalid pointer test on FreeBSD

Description

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

Details

Provenance
ngieAuthored on
Parents
rS272907: Make MAP_NOSYNC handling in the vm_fault() read-locked object path
Branches
Unknown
Tags
Unknown

Event Timeline