[RFC PATCH 3/4] xfs: replace ns_capable_noaudit()
Christoph Hellwig
hch at lst.de
Mon Jun 29 12:30:57 UTC 2026
On Fri, Jun 26, 2026 at 08:19:00AM -0700, Darrick J. Wong wrote:
> On Fri, Jun 26, 2026 at 01:45:22PM +0200, cem at kernel.org wrote:
> > From: Carlos Maiolino <cem at kernel.org>
> >
> > We don't need to use ns_capable_noaudit() as all we care is the initial
> > user namespace, use capable_noaudit() instead.
>
> Might as well do the one in xfs_fsmap.c too, since it was originally a
> capable() call.
Yes, we should do that one as well. But that's a separate patch.
More information about the Linux-security-module-archive
mailing list