gettimeofday((void *)-1, NULL) implicates core dump on recent FreeBSD 11-CURRENT

Jamie Landeg-Jones jamie at dyslexicfish.net
Wed Jul 8 16:17:01 UTC 2015


Oliver Pinter <oliver.pinter at hardenedbsd.org> wrote:

> On 7/8/15, O'Connor, Daniel <darius at dons.net.au> wrote:
> >
> > In defence of the test, the man page says it can return EFAULT.
>
> That's fine, but why changed the behaviour since 2015. May 27.? I have
> an older FreeBSD/HardenedBSD install, where this test passing. See
> some previous email in this thread.

That's why it's called 'undefined' :-)

Pedantically, being 'undefined', it's behaviour hasn't changed at all!


More information about the freebsd-current mailing list