Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jan 2006 13:52:11 +0000 (UTC)
From:      Diomidis Spinellis <dds@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/sys utimes.2 src/sys/kern vfs_syscalls.c
Message-ID:  <200601221352.k0MDqBGv029665@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
dds         2006-01-22 13:52:11 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    lib/libc/sys         utimes.2 
    sys/kern             vfs_syscalls.c 
  Log:
  MFC: Return EINVAL if the tv_usec part of the utimes(2) arguments
  contains incorrect fractional second values (outside the range
  0-999999).
  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.
  
  Revision   Changes    Path
  1.17.6.1   +7 -1      src/lib/libc/sys/utimes.2
  1.356.2.5  +3 -0      src/sys/kern/vfs_syscalls.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601221352.k0MDqBGv029665>