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

Mark Brown broonie at kernel.org
Thu Nov 6 12:11:43 UTC 2014


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/linux-audit/attachments/20141106/17ca57ec/attachment.sig>


More information about the Linux-audit mailing list