Re: linux-next: build failure after merge of the akpm tree
From: Stephen Rothwell
Date: Thu Sep 27 2012 - 03:26:47 EST
Hi Andrew,
On Wed, 26 Sep 2012 13:33:35 -0700 Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> On Wed, 26 Sep 2012 13:15:58 -0700
> Kees Cook <keescook@xxxxxxxxxxxx> wrote:
>
> > This is weird -- my original patch doesn't touch audit_get_sessionid() at all:
> > http://git.kernel.org/?p=linux/kernel/git/kees/linux.git;a=commitdiff;h=7bbfec58ed33d5e74043530b87992f16da718ba2
>
> That patch has been broken multiple times as things change under its
> feet. I've just repaired my most recent attempt to repair it.
>
>
> From: Kees Cook <keescook@xxxxxxxxxxxx>
> Subject: audit.h: replace defines with C stubs
>
> Replace the #defines used when CONFIG_AUDIT or CONFIG_AUDIT_SYSCALLS are
> disabled so we get type checking during those builds.
>
> Suggested-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
> Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
OK, so I replaced the old version of this patch in the akpm tree in
linux-next with this one (with the kuid_t patch mashed in).
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
Attachment:
pgp00000.pgp
Description: PGP signature