Re: [RFC][PATCH] Mark AT_* path flags as deprecated and add missing RESOLVE_ flags

From: David Howells
Date: Fri Mar 06 2020 - 09:43:54 EST


Christian Brauner <christian.brauner@xxxxxxxxxx> wrote:

> > + if (flags & O_NOFOLLOW)
> > + lookup_flags &= ~LOOKUP_FOLLOW;
>
> Odd change. But I guess you're doing it for the sake of consistency
> because of how you treat NO_TERMINAL_SYMLINKS below.

Not really. The default is to follow. Both remove the LOOKUP_FOLLOW flag and
neither set it.

David