As far as I can tell, POSIX doesn't require either EFAULT or any other
behaviour - the text in http://www.open-std.org/jtc1/sc22/open/n4217.pdf
just says, "No errors are defined". Our man page is wrong and any real
program which relies on gettimeofday not faulting when given bad inputs is
On 8 July 2015 at 17:16, Jamie Landeg-Jones <ja...@dyslexicfish.net> wrote:
> Oliver Pinter <oliver.pin...@hardenedbsd.org> wrote:
> > On 7/8/15, O'Connor, Daniel <dar...@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!
> email@example.com mailing list
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"