summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/conf
diff options
context:
space:
mode:
authorcheloha <cheloha@cvs.openbsd.org>2019-09-04 14:27:56 +0000
committercheloha <cheloha@cvs.openbsd.org>2019-09-04 14:27:56 +0000
commit6681649a730f668723a286f0514f80fe509c785f (patch)
tree0f14954e632b5e0cc84ab129417aa3a478947de4 /sys/arch/alpha/conf
parent3b7be44fbd14b7474c7c2ae42871c66de17ba46d (diff)
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@
Diffstat (limited to 'sys/arch/alpha/conf')
0 files changed, 0 insertions, 0 deletions