HomeFreeBSD

MFC r292513: clock_gettime(2),gettimeofday(2): Remove [EFAULT] error.

Description

MFC r292513: clock_gettime(2),gettimeofday(2): Remove [EFAULT] error.

Depending on system configuration and parameters, clock_gettime() and
gettimeofday() may not be system calls. If so, passing an invalid pointer
will cause a signal and not an [EFAULT] error.

From a standards perspective, this is OK since passing an invalid pointer is
undefined behaviour.

Details

Provenance
jillesAuthored on
Parents
rS292775: MFC: r286785, r291088, r291120
Branches
Unknown
Tags
Unknown