Re: [PATCH 3/3] autofs - fix AT_NO_AUTOMOUNT not being honored

From: Colin Walters
Date: Fri May 12 2017 - 08:49:26 EST


On Wed, May 10, 2017, at 12:18 AM, Ian Kent wrote:
> The fstatat(2) and statx() calls can pass the flag AT_NO_AUTOMOUNT
> which is meant to clear the LOOKUP_AUTOMOUNT flag and prevent triggering
> of an automount by the call. But this flag is unconditionally cleared
> for all stat family system calls except statx().
>

Here's the GLib patch to make use of this:
https://bugzilla.gnome.org/show_bug.cgi?id=782554