Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jul 2015 14:24:06 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Oliver Pinter <oliver.pinter@hardenedbsd.org>
Cc:        "O'Connor, Daniel" <darius@dons.net.au>, Garrett Wollman <wollman@hergotha.csail.mit.edu>, freebsd-current@freebsd.org, shawn.webb@hardenedbsd.org
Subject:   Re: gettimeofday((void *)-1, NULL) implicates core dump on recent FreeBSD 11-CURRENT
Message-ID:  <20150708112406.GA2080@kib.kiev.ua>
In-Reply-To: <CAPQ4ffsh_GMp1KXB7FM0xLyeRMQW2xSqHQLEg1z8L0k1p0bJ4Q@mail.gmail.com>
References:  <CAPQ4ffuTcN_ytcH7GPY0s6OqWK9qo6MGaVZhOB%2B0ojWfd=fNCg@mail.gmail.com> <201507072241.t67MfsX5085860@hergotha.csail.mit.edu> <94BCDA65-5B86-4329-A312-4CB16E847B69@dons.net.au> <CAPQ4ffuuaiWGUthEhux2VrK6ZyHDT=0xd9z8k8f11N=6shdUng@mail.gmail.com> <20150708102137.GZ2080@kib.kiev.ua> <CAPQ4ffsh_GMp1KXB7FM0xLyeRMQW2xSqHQLEg1z8L0k1p0bJ4Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 08, 2015 at 12:36:08PM +0200, Oliver Pinter wrote:
> Changing to HPET solves the problem:
No, it does not solve the problem, it only hides it.

The solution is to remove the test.

Or, if so inclined, only run the test when gettimeofday(2) is implemented
by a syscall.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150708112406.GA2080>