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

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
2019-09-04 22:46:00
Also in
linux-alpha, linux-arch, linux-arm-kernel, linux-fsdevel, linux-kselftest, linux-mips, linux-s390, linux-sh, linuxppc-dev, lkml, sparclinux
Reply to
David Howells, 2019-09-04
On Wed, Sep 4, 2019 at 3:31 PM David Howells [off-list ref] wrote:
It ought to be reasonably easy to make them per-sb at least, I think.  We
don't allow cross-super rename, right?
Right now the sequence count handling very much depends on it being a
global entity on the reader side, at least.

And while the rename sequence count could (and probably should) be
per-sb, the same is very much not true of the mount one.

So the rename seqcount is likely easier to fix than the mount one, but
neither of them are entirely trivial, afaik.

               Linus
Thread (63 messages) 63 messages, 12 authors, last reply 2019-09-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help