From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751035Ab0HRDPv (ORCPT ); Tue, 17 Aug 2010 23:15:51 -0400 Received: from mga03.intel.com ([143.182.124.21]:1464 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750708Ab0HRDPs (ORCPT ); Tue, 17 Aug 2010 23:15:48 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.56,225,1280732400"; d="scan'208";a="313786677" Subject: Re: selinux build error - =?UTF-8?Q?=E2=80=98FILE=5F=5FAUDIT=5FACCESS=E2=80=99?= undeclared From: Lin Ming To: Eric Paris Cc: "Stephen D. Smalley" , James Morris , Ingo Molnar , lkml In-Reply-To: <1282045050.21419.119.camel@acb20005.ipt.aol.com> References: <1282032919.11858.8.camel@minggr.sh.intel.com> <1282045050.21419.119.camel@acb20005.ipt.aol.com> Content-Type: text/plain; charset="UTF-8" Date: Wed, 18 Aug 2010 11:15:59 +0800 Message-ID: <1282101359.11858.34.camel@minggr.sh.intel.com> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > 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 >