summaryrefslogtreecommitdiff
path: root/etc/MAKEDEV.common
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-06-09 15:47:15 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-06-09 15:47:15 +0000
commita68d5fa9b8b87140378ef4f0b20b981cfd24ad77 (patch)
treef4c7ba301fbc6345fe5abd8726d55d9dedbd7fad /etc/MAKEDEV.common
parente7be2376f5a5ad6739b6c9fde5053aad5d01e444 (diff)
Do not set time 100 years in the future if the time read is before
POSIX_BASE_YEAR (1970) because the clock's base year is before that year as well (as found on sparc which use 1968 as their base year); this allows clocks with dead batteries to ``correctly'' report the current date as in year 1968, instead of year 2068 which causes a 32 bit time_t wraparound in year 1931. Found the hard way by Philippe Meunier, ok deraadt@
Diffstat (limited to 'etc/MAKEDEV.common')
0 files changed, 0 insertions, 0 deletions