Re: selinux build error -âFILE__AUDIT_ACCESSâ undeclared

From: Lin Ming
Date: Tue Aug 17 2010 - 23:16:09 EST


On Tue, 2010-08-17 at 19:37 +0800, Eric Paris wrote:
> On Tue, 2010-08-17 at 16:15 +0800, Lin Ming wrote:
> > Current -tip(a3b97ee) tree build error.
> > My config attached.
> >
> > linux-2.6/security/selinux/hooks.c: In function âselinux_inode_permissionâ:
> > linux-2.6/security/selinux/hooks.c:2647:38: error: âFILE__AUDIT_ACCESSâ undeclared (first use in this function)
> >
> > It was introduced by below commit.
> >
> > commit b782e0a68d17894d9a618ffea55b33639faa6bb4
> > Author: Eric Paris <eparis@xxxxxxxxxx>
> > Date: Fri Jul 23 11:44:03 2010 -0400
> >
> > SELinux: special dontaudit for access checks
> >
> > Lin Ming
>
> did you build with O= ?

Yes.

>
> Fixed in a7a387cc596278af1516c534b50cc0bee171129d but you have to run
> make clean. If you want to fix it up by hand run:
>
> find . -name av_pernmissions.h | xargs rm
>
> Your builds will work find after that.

Works now.

Thanks.

>
> -Eric
>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/