Dmitry Chagin 3e18d701de Verify that tv_sec value specified in settimeofday() and clock_settime()
(CLOCK_REALTIME case) system calls is non negative.
This commit hides a kernel panic in atrtc_settime() as the clock_ts_to_ct()
does not properly convert negative tv_sec.

ps. in my opinion clock_ts_to_ct() should be rewritten to properly handle
negative tv_sec values.

Differential Revision:	https://reviews.freebsd.org/D4714
Reviewed by:		kib

MFC after:	1 week
2015-12-27 15:37:07 +00:00
..
2015-12-25 14:51:36 +00:00
2015-12-24 04:30:15 +00:00
2015-11-19 08:04:05 +00:00
2015-12-24 04:30:15 +00:00
2015-11-12 10:31:14 +00:00