From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: Re: [PATCH 2/4] arm64: Add audit support Date: Fri, 8 Nov 2013 14:43:08 +0000 Message-ID: <20131108144307.GK17461@mudshark.cambridge.arm.com> References: <1383733546-2846-1-git-send-email-takahiro.akashi@linaro.org> <1383733546-2846-3-git-send-email-takahiro.akashi@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1383733546-2846-3-git-send-email-takahiro.akashi@linaro.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: AKASHI Takahiro Cc: Catalin Marinas , "linux-audit@redhat.com" , "linaro-kernel@lists.linaro.org" , "linux-arm-kernel@lists.infradead.org" , "patches@linaro.org" List-Id: linux-audit@redhat.com On Wed, Nov 06, 2013 at 10:25:44AM +0000, AKASHI Takahiro wrote: > diff --git a/arch/arm64/kernel/audit.c b/arch/arm64/kernel/audit.c > new file mode 100644 > index 0000000..9aab2b3 > --- /dev/null > +++ b/arch/arm64/kernel/audit.c > @@ -0,0 +1,59 @@ > +#include > +#include > +#include > + > +static unsigned dir_class[] = { > +#include > +~0U > +}; > + > +static unsigned read_class[] = { > +#include > +~0U > +}; > + > +static unsigned write_class[] = { > +#include > +~0U > +}; > + > +static unsigned chattr_class[] = { > +#include > +~0U > +}; > + > +static unsigned signal_class[] = { > +#include > +~0U > +}; This looks like a copy of lib/audit.c to me. Why can't we use that instead? Will From mboxrd@z Thu Jan 1 00:00:00 1970 From: will.deacon@arm.com (Will Deacon) Date: Fri, 8 Nov 2013 14:43:08 +0000 Subject: [PATCH 2/4] arm64: Add audit support In-Reply-To: <1383733546-2846-3-git-send-email-takahiro.akashi@linaro.org> References: <1383733546-2846-1-git-send-email-takahiro.akashi@linaro.org> <1383733546-2846-3-git-send-email-takahiro.akashi@linaro.org> Message-ID: <20131108144307.GK17461@mudshark.cambridge.arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Nov 06, 2013 at 10:25:44AM +0000, AKASHI Takahiro wrote: > diff --git a/arch/arm64/kernel/audit.c b/arch/arm64/kernel/audit.c > new file mode 100644 > index 0000000..9aab2b3 > --- /dev/null > +++ b/arch/arm64/kernel/audit.c > @@ -0,0 +1,59 @@ > +#include > +#include > +#include > + > +static unsigned dir_class[] = { > +#include > +~0U > +}; > + > +static unsigned read_class[] = { > +#include > +~0U > +}; > + > +static unsigned write_class[] = { > +#include > +~0U > +}; > + > +static unsigned chattr_class[] = { > +#include > +~0U > +}; > + > +static unsigned signal_class[] = { > +#include > +~0U > +}; This looks like a copy of lib/audit.c to me. Why can't we use that instead? Will