Re: [Y2038] [PATCH 05/20] utimes: Clamp the timestamps before update

2019-08-10 Thread Deepa Dinamani
On Mon, Aug 5, 2019 at 6:30 AM Ben Hutchings wrote: > > On Mon, 2019-07-29 at 18:49 -0700, Deepa Dinamani wrote: > > POSIX is ambiguous on the behavior of timestamps for > > futimens, utimensat and utimes. Whether to return an > > error or silently clamp a timestamp beyond the range > > supported

Re: [Y2038] [PATCH 05/20] utimes: Clamp the timestamps before update

2019-08-05 Thread Ben Hutchings
On Mon, 2019-07-29 at 18:49 -0700, Deepa Dinamani wrote: > POSIX is ambiguous on the behavior of timestamps for > futimens, utimensat and utimes. Whether to return an > error or silently clamp a timestamp beyond the range > supported by the underlying filesystems is not clear. > > POSIX.1 section