Thread (24 messages) 24 messages, 4 authors, 2020-06-05

Re: [PATCH v5 5/7] blktrace: fix debugfs use after free

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2020-05-19 16:54:29
Also in: linux-fsdevel, linux-mm, lkml

On Tue, May 19, 2020 at 09:37:13AM -0700, Christoph Hellwig wrote:
I don't think we need any of that symlink stuff.  Even if we want it
(which I don't), it should not be in a bug fix patch.
I agree, why are the symlinks even needed?  This is debugfs, the
files/contents there can change whenever they want to, no userspace code
should depend on this stuff...
In fact to fix the blktrace race I think we only need something like
this fairly trivial patch (completely untested so far) below.

(and with that we can also drop the previous patch, as blk-debugfs.c
becomes rather pointless)
Patch looks much more sane than Luis's one.

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help