[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHC9VhRhy_oiAj2g6YZXyVpXTjw7Ha+PH8keV9yidVAZSwxyuQ@mail.gmail.com>
Date: Fri, 26 Apr 2019 14:59:04 -0400
From: Paul Moore <paul@...l-moore.com>
To: Jeff Layton <jlayton@...nel.org>
Cc: Al Viro <viro@...iv.linux.org.uk>, linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org, miklos@...redi.hu,
gregkh@...uxfoundation.org, tj@...nel.org, jack@...e.cz,
amir73il@...il.com, Eric Paris <eparis@...hat.com>,
linux-audit@...hat.com, rafael@...nel.org
Subject: Re: [PATCH 0/5] vfs: track the dentry name length in name_snapshot
On Fri, Apr 26, 2019 at 2:52 PM Al Viro <viro@...iv.linux.org.uk> wrote:
> On Fri, Apr 26, 2019 at 02:28:42PM -0400, Jeff Layton wrote:
> > name_snapshot will snapshot the current contents of a dentry's name for
> > later consumption. Several of those users end up needing to do a strlen
> > on the resulting string later. We already have that info in the original
> > dentry though, so we can do this a bit more efficiently by stuffing the
> > name length into the name_snapshot as well.
> >
> > This is not well tested, but it built and booted. Do we have a testsuite
> > that exercises the fsnotify code, in particular?
>
> FWIW, my variant sits in vfs.git@...k.dcache.
Jan Kara contributed some audit related stress tests to the
audit-testsuite (link below). You can find the tests under
./tests_manual/stress_tree.
* https://github.com/linux-audit/audit-testsuite
--
paul moore
www.paul-moore.com
Powered by blists - more mailing lists