[PATCH] filesystems: use has_capability_noaudit interface for reserved blocks checks

Theodore Tso tytso at mit.edu
Thu Nov 13 18:07:17 EST 2008


On Thu, Nov 13, 2008 at 02:53:16PM -0800, Andrew Morton wrote:
> On Tue, 11 Nov 2008 14:12:49 -0500
> Eric Paris <eparis at redhat.com> wrote:
> 
> > ext[2,3,4], ufs, and ubifs all check for  CAP_SYS_RESOURCE to determine
> > if they should allow reserved blocks to be used.  A process not having
> > this capability is not failing some security decision and should not be
> > audited.  Thus move to using has_capability_noaudit.
> > 
> > Signed-off-by: Eric Paris <eparis at redhat.com>
> > ---
> > 
> > I would like to push this patch through the security tree (since that's
> > the only place the new cap_noaudit interface exists), but I'd like to
> > get an ACK from each subsystem maintainer.

For ext4:

Acked-by: "Theodore Ts'o" <tytso at mit.edu>

						- Ted



More information about the linux-mtd mailing list