Thread (63 messages) 63 messages, 12 authors, 2019-09-18

Re: [PATCH v12 10/12] namei: aggressively check for nd->root escape on ".." resolution

From: David Howells <dhowells@redhat.com>
Date: 2019-09-04 22:31:33
Also in: linux-alpha, linux-arch, linux-arm-kernel, linux-fsdevel, linux-kselftest, linux-mips, linux-s390, linux-sh, linuxppc-dev, lkml, sparclinux

Linus Torvalds [off-list ref] wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help