[PATCH v12 10/12] namei: aggressively check for nd->root escape on ".." resolution
David Howells
dhowells at redhat.com
Thu Sep 5 08:31:16 AEST 2019
Linus Torvalds <torvalds at linux-foundation.org> wrote:
> > Hinting to userspace to do a retry (with -EAGAIN as you mention in your
> > other mail) wouldn't be a bad thing at all, though you'd almost
> > certainly get quite a few spurious -EAGAINs -- &{mount,rename}_lock are
> > global for the entire machine, after all.
>
> I'd hope that we have some future (possibly very long-term)
> alternative that is not quite system-global, but yes, right now they
> are.
It ought to be reasonably easy to make them per-sb at least, I think. We
don't allow cross-super rename, right?
David
More information about the Linuxppc-dev
mailing list