mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Lin Ming <ming.m.lin@intel.com>
To: Eric Paris <eparis@redhat.com>
Cc: "Stephen D. Smalley" <sds@tycho.nsa.gov>,
	James Morris <jmorris@namei.org>, Ingo Molnar <mingo@elte.hu>,
	lkml <linux-kernel@vger.kernel.org>
Subject: Re: selinux build error - ‘FILE__AUDIT_ACCESS’ undeclared
Date: Wed, 18 Aug 2010 11:15:59 +0800	[thread overview]
Message-ID: <1282101359.11858.34.camel@minggr.sh.intel.com> (raw)
In-Reply-To: <1282045050.21419.119.camel@acb20005.ipt.aol.com>

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
> 



      reply	other threads:[~2010-08-18  3:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-17  8:15 Lin Ming
2010-08-17 11:37 ` Eric Paris
2010-08-18  3:15   ` Lin Ming [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1282101359.11858.34.camel@minggr.sh.intel.com \
    --to=ming.m.lin@intel.com \
    --cc=eparis@redhat.com \
    --cc=jmorris@namei.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=sds@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®