bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] fix descriptions for AT_NO_AUTOMOUNT


From: Pádraig Brady
Subject: Re: [PATCH] fix descriptions for AT_NO_AUTOMOUNT
Date: Thu, 10 Mar 2022 19:39:09 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:97.0) Gecko/20100101 Thunderbird/97.0

On 10/03/2022 19:29, Paul Eggert wrote:
On 3/10/22 05:46, Pádraig Brady wrote:
After looking at the kernel code, it seems that:
    fstatat() did _not_ imply AT_NO_AUTOMOUNT from 2.6.38 -> 4.11
      I'm not sure it even honored the AT_NO_AUTOMOUNT flag before 4.11
    fstatat() did imply AT_NO_AUTOMOUNT since 4.11

Ouch, so this whole thing has been a false alarm? Well, in some sense
that's a relief; in another sense I wonder whether we should undo some
of the recent Gnulib changes.

The changes are a net improvement I think since fewer interfaces are used.

I would remove the AT_NO_AUTOMOUNT parameters to fstatat() though,
since they're redundant it seems, and would only result in confusion
if the patch is applied to remove that flag from the fstatat(2) man page.

thanks,
Pádraig



reply via email to

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