summaryrefslogtreecommitdiffstats
path: root/lib/libgssapi/gss_get_mic.c
diff options
context:
space:
mode:
authordds <dds@FreeBSD.org>2006-01-03 21:58:21 +0000
committerdds <dds@FreeBSD.org>2006-01-03 21:58:21 +0000
commite2090521119fa0784e32129524558d6684ba4c69 (patch)
treec049892abc8478e41743636db5c394179001889c /lib/libgssapi/gss_get_mic.c
parentc5944732d82d8b2776786c7219fd7707310b5495 (diff)
downloadFreeBSD-src-e2090521119fa0784e32129524558d6684ba4c69.zip
FreeBSD-src-e2090521119fa0784e32129524558d6684ba4c69.tar.gz
Normalize the tv_usec part of the utimes(2) arguments to ensure
that a file's atime and mtime are only set to correct fractional second values (0-999999000ns with the current interface). Prior to this change users could create files with values outside that range. Moreover, on 32-bit machines tv_usec offsets larger than 4.3s would result in an unnormalized AND wrong timestamp value, due to overflow. MFC after: 1 week
Diffstat (limited to 'lib/libgssapi/gss_get_mic.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud