diff options
author | dds <dds@FreeBSD.org> | 2006-01-03 21:58:21 +0000 |
---|---|---|
committer | dds <dds@FreeBSD.org> | 2006-01-03 21:58:21 +0000 |
commit | e2090521119fa0784e32129524558d6684ba4c69 (patch) | |
tree | c049892abc8478e41743636db5c394179001889c /lib/libgssapi/gss_get_mic.c | |
parent | c5944732d82d8b2776786c7219fd7707310b5495 (diff) | |
download | FreeBSD-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