OpenBSD cvs log

created 2019-10-05T13:53:05Z
begin 2019-09-04T12:00:00Z
end 2019-09-04T15:00:00Z
path src/sys
commits 4

date 2019-09-04T14:27:55Z
author cheloha
files src/sys/kern/kern_time.c log diff annotate
message gettimeofday, settimeofday(2): limit timezone support

For gettimeofday(2), always copy out an empty timezone struct. For
settimeofday(2), still copyin(9) the struct but ignore the contents.

In gettimeofday(2)'s case we have not changed the original BSD semantics:
the kernel only tracks UTC time without an offset for DST, so a zeroed
timezone struct is the correct thing to return to the caller.

Future work could move these out into libc as stubs for clock_gettime and
clock_settime(2). But, definitely a "later" thing, given that we are in
beta.

Update the manpage to de-emphasize the timezone parameters for these
syscalls.

Discussed with tedu@, deraadt@, millert@, kettenis@, yasuoka@, jca@, and
guenther@. Tested by job@. Ports input from jca@ and sthen@. Manpage
input from jca@.

ok jca@ deraadt@

date 2019-09-04T14:29:41Z
author cheloha
files src/sys/arch/alpha/conf/RAMDISK log diff annotate
src/sys/arch/alpha/conf/RAMDISKB log diff annotate
src/sys/arch/alpha/conf/RAMDISKBIG log diff annotate
src/sys/arch/alpha/conf/RAMDISKC log diff annotate
src/sys/arch/amd64/conf/RAMDISK log diff annotate
src/sys/arch/amd64/conf/RAMDISK_CD log diff annotate
src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
src/sys/arch/armv7/conf/RAMDISK log diff annotate
src/sys/arch/hppa/conf/RAMDISK log diff annotate
src/sys/arch/i386/conf/RAMDISK log diff annotate
src/sys/arch/i386/conf/RAMDISK_CD log diff annotate
src/sys/arch/landisk/conf/RAMDISK log diff annotate
message Remove DST/TIMEZONE options(4) from kernel configs; ok jca@ deraadt@

date 2019-09-04T14:29:42Z
author cheloha
files src/sys/arch/loongson/conf/RAMDISK log diff annotate
src/sys/arch/luna88k/conf/RAMDISK log diff annotate
src/sys/arch/macppc/conf/RAMDISK log diff annotate
src/sys/arch/octeon/conf/BOOT log diff annotate
src/sys/arch/octeon/conf/RAMDISK log diff annotate
src/sys/arch/sgi/conf/RAMDISK-IP22 log diff annotate
src/sys/arch/sgi/conf/RAMDISK-IP26 log diff annotate
src/sys/arch/sgi/conf/RAMDISK-IP27 log diff annotate
src/sys/arch/sgi/conf/RAMDISK-IP28 log diff annotate
src/sys/arch/sgi/conf/RAMDISK-IP30 log diff annotate
src/sys/arch/sgi/conf/RAMDISK-IP32 log diff annotate
src/sys/arch/sparc64/conf/RAMDISK log diff annotate
src/sys/arch/sparc64/conf/RAMDISKU1 log diff annotate
src/sys/arch/sparc64/conf/RAMDISKU5 log diff annotate
message Remove DST/TIMEZONE options(4) from kernel configs; ok jca@ deraadt@

date 2019-09-04T14:40:22Z
author cheloha
files src/sys/msdosfs/msdosfs_conv.c log diff annotate
message msdosfs: remove timezone support

This support is undocumented, only works if you're using the kernel
timezone, and breaks during a DST shift. It also preferences file systems
managed by a Windows installation: many implementations, like ours, use
UTC by default (think: phones, digital cameras).

No complaints on tech@.

"good riddance" tedu@, "Yep." deraadt@