coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fstatat + AT_NO_AUTOMOUNT


From: Andreas Schwab
Subject: Re: fstatat + AT_NO_AUTOMOUNT
Date: Thu, 10 Mar 2022 08:44:53 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

On Mär 09 2022, Paul Eggert wrote:

> I audited gnulib's uses of fstatat and found one fishy one that doesn't
> use AT_NO_AUTOMOUNT, namely, in fts.c where the follow-symlink branch uses
> 'stat' whereas the no-follow-symlink branch uses fstatat without
> AT_NO_AUTOMOUNT. I installed the first patch to cause it be consistent in
> using AT_NO_AUTOMOUNT, which is also consistent with what glibc does

??? In glibc, stat is the same as fstatat(,,,0).

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]