dchagin dad1819732 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-07-20 09:37:42 +00:00
2015-04-22 14:38:58 +00:00
2015-12-13 11:30:36 +00:00
2015-01-22 11:12:42 +00:00
2015-12-23 03:34:43 +00:00
2015-06-30 17:00:45 +00:00
2015-11-19 05:50:22 +00:00
2014-08-11 15:06:07 +00:00
2015-01-22 11:12:42 +00:00
2015-07-29 17:18:27 +00:00
2015-07-11 15:22:11 +00:00
2015-07-11 15:22:11 +00:00
2010-01-04 20:59:52 +00:00
2015-06-10 10:48:12 +00:00
2012-10-25 09:05:21 +00:00
2015-03-17 14:16:50 +00:00