summaryrefslogtreecommitdiffstats
path: root/sys/geom
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2015-12-27 15:37:07 +0000
committerdchagin <dchagin@FreeBSD.org>2015-12-27 15:37:07 +0000
commitdad18197321e39c593d85743e49c2c26486ccf63 (patch)
treee459c298e24469daff55052ffe342241653d4c3b /sys/geom
parent6cbc48de82fcf894c69c41588fd14c5c4f410244 (diff)
downloadFreeBSD-src-dad18197321e39c593d85743e49c2c26486ccf63.zip
FreeBSD-src-dad18197321e39c593d85743e49c2c26486ccf63.tar.gz
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
Diffstat (limited to 'sys/geom')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud