Module Name:    src
Committed By:   martin
Date:           Sun Nov  1 17:26:01 UTC 2020

Modified Files:
        src/sys/kern [netbsd-9]: kern_time.c

Log Message:
Pull up following revision(s) (requested by nia in ticket #1124):

        sys/kern/kern_time.c: revision 1.206

kern_time: prevent the system clock from being set too low or high
currently doing this will drive KUBSAN haywire and possibly cause
system lock-ups, so more testing should probably be performed before
we let the clock be set too many thousands of years into the future.

ditto for negative values, which were being passed by chrony for
some reason while my internet connection was being unreliable.
this also triggered some interesting KUBSAN reports.


To generate a diff of this commit:
cvs rdiff -u -r1.197.4.3 -r1.197.4.4 src/sys/kern/kern_time.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to