On Thu, Apr 11, 2024 at 09:21:27AM -0700, Linus Torvalds wrote: > On Thu, 11 Apr 2024 at 05:25, Christian Brauner <brauner@xxxxxxxxxx> wrote: > > > > Btw, I think we should try to avoid putting this into path_init() and > > confine this to linkat() itself imho. The way I tried to do it was by > > presetting a root for filename_lookup(); means we also don't need a > > LOOKUP_* flag for this as this is mostly a linkat thing. > > So I had the exact reverse reaction to your patch - I felt that using Fun. I really disliked the idea of having to somehow wrangle this into lookup itself and that the root argument just happened to not be used for non-kernel internal use-cases yet. But I'm not married to this so fine by me.