dds         2006-01-03 21:58:22 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_syscalls.c 
  Log:
  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
  
  Revision  Changes    Path
  1.397     +24 -3     src/sys/kern/vfs_syscalls.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to