Re: [parch 1/4] vfs: utimensat(): ignore tv_sec if tv_nsec == UTIME_OMIT or UTIME_NOW

From: Michael Kerrisk
Date: Wed Jun 04 2008 - 08:02:03 EST


On Wed, Jun 4, 2008 at 6:27 AM, Miklos Szeredi <miklos@xxxxxxxxxx> wrote:
>> The POSIX.1 draft spec for utimensat() says that if a times[n].tv_nsec
>> field is UTIME_OMIT or UTIME_NOW, then the value in the corresponding
>> tv_sec field is ignored. However the current Linux implementation
>> requires the tv_sec value to be zero (or the EINVAL error results).
>> This requirement should be removed.
>>
>> CC: Miklos Szeredi <miklos@xxxxxxxxxx>
>> CC: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
>> CC: Ulrich Drepper <drepper@xxxxxxxxxx>
>> Signed-off-by: Michael Kerrisk <mtk.manpages@xxxxxxxxx>
>
> Would it be possible to quote the relevant parts of the draft?

Will do, for the next revision of this patch series.

> Otherwise
>
> Acked-by: Miklos Szeredi <mszeredi@xxxxxxx>
>



--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/