[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAGudoHFfNuYPnMou1v2M1de9B-MPP=HtjY_MX07Gmx9R_rh4ZA@mail.gmail.com>
Date: Sat, 5 Apr 2025 07:26:16 +0200
From: Mateusz Guzik <mjguzik@...il.com>
To: Christoph Hellwig <hch@...radead.org>
Cc: Andreas Schwab <schwab@...ux-m68k.org>, brauner@...nel.org, viro@...iv.linux.org.uk,
jack@...e.cz, linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH 2/2] fs: cache the string generated by reading /proc/filesystems
On Sat, Apr 5, 2025 at 6:55 AM Mateusz Guzik <mjguzik@...il.com> wrote:
>
> On Fri, Apr 4, 2025 at 10:41 AM Christoph Hellwig <hch@...radead.org> wrote:
> >
> > On Sat, Mar 29, 2025 at 09:53:16PM +0100, Andreas Schwab wrote:
> > > On Mär 29 2025, Mateusz Guzik wrote:
> > >
> > > > It is being read surprisingly often (e.g., by mkdir, ls and even sed!).
> > >
> > > It is part of libselinux (selinuxfs_exits), called by its library
> > > initializer.
> >
> > Can we please fix libselinux instead of working around this really
> > broken behavior in the kernel?
> >
>
> That's a fair point, I'm going to ask them about it. If they fix it
> then I'll probably self-NAK the patch.
>
for interested parties: https://github.com/SELinuxProject/selinux/issues/468
--
Mateusz Guzik <mjguzik gmail.com>
Powered by blists - more mailing lists