On Mon, Feb 24, 2020 at 12:00:51PM +0100, Uwe Kleine-König wrote:
> On Tue, Feb 18, 2020 at 03:57:20PM +0100, Uwe Kleine-König wrote:
> > unfs makes use of utime() which is unsuitable to set last access and
> > modification times for symlinks. So make use of the O_PATH flag to
> > open() and use
On Tue, Feb 18, 2020 at 03:57:20PM +0100, Uwe Kleine-König wrote:
> unfs makes use of utime() which is unsuitable to set last access and
> modification times for symlinks. So make use of the O_PATH flag to
> open() and use the futimens() function.
>
> As a side effect this is less racy and
unfs makes use of utime() which is unsuitable to set last access and
modification times for symlinks. So make use of the O_PATH flag to
open() and use the futimens() function.
As a side effect this is less racy and improves resolution from seconds
to nanoseconds.
Note this will break builds of