Re: [PATCH] include/linux/audit.h: Move dummy audit_file() from !AUDIT area to !AUDITSYSCALL area

From: Mark Brown
Date: Thu Nov 06 2014 - 07:12:16 EST


On Wed, Nov 05, 2014 at 12:43:01PM -0800, Paul Moore wrote:
> On Tuesday, November 04, 2014 11:09:52 PM Chen Gang wrote:
> > audit_file() is related with AUDITSYSCALL, not related with AUDIT, so
> > need move dummy one from !AUDIT area to !AUDITSYSCALL area. Or it will
> > cause issue if CONFIG_AUDIT with !CONFIG_AUDITSYSCALL.

> > The related error (with allmodconfig under tile):

> > CC fs/open.o
> > fs/open.c: In function 'SYSC_fchmod':
> > fs/open.c:530:3: error: implicit declaration of function 'audit_file'
> > [-Werror=implicit-function-declaration] audit_file(f.file);
> > ^

> What version of the kernel source are you looking at? I don't see the
> audit_file() function anywhere ...

This issue has been breaking ARMv8 defconfig builds in -next for a few
days now.

Attachment: signature.asc
Description: Digital signature