lkml.org 
[lkml]   [2020]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC][PATCH] Mark AT_* path flags as deprecated and add missing RESOLVE_ flags
Date
Stefan Metzmacher <metze@samba.org> wrote:

> Where's the RESOLVE_NO_TERMINAL_AUTOMOUNTS check?

See:

(3) Make openat2() support RESOLVE_NO_TERMINAL_SYMLINKS. LOOKUP_OPEN
internally implies LOOKUP_AUTOMOUNT, and AT_EMPTY_PATH is probably not
worth supporting (maybe use dup2() instead?).

As things currently stand, automount following is explicitly forced on for
open and create. We can make it error out instead if this is desirable if
RESOLVE_NO_TERMINAL_AUTOMOUNTS in such a case.

David

\
 
 \ /
  Last update: 2020-03-05 21:36    [W:0.036 / U:1.988 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site