lkml.org 
[lkml]   [2010]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: selinux build error - ‘FILE AUDIT ACCESS’ undeclared
From
Date
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@redhat.com>
> > 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2010-08-18 05:19    [W:0.049 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site