Re: linux-next: security-testing tree build failure

From: Eric Paris
Date: Mon Aug 10 2009 - 10:08:12 EST


On Fri, 2009-08-07 at 14:59 +1000, Stephen Rothwell wrote:
> Hi James,
>
> Today's linux-next build (powerpc ppc64_defconfig) failed like this:
>
> kernel/sysctl.c:1321: error: 'mmap_min_addr_handler' undeclared here (not in a function)
> mm/mmap.c: In function 'do_mmap_pgoff':
> mm/mmap.c:935: error: implicit declaration of function 'round_hint_to_min'
>
> Caused by commit a2551df7ec568d87793d2eea4ca744e86318f205
> ("Security/SELinux: seperate lsm specific mmap_min_addr") -
> CONFIG_SECURITY is not set in this build.
>
> I have used the version of the security-testing tree from next-20090806
> for today.

Sorry, I thought I put the definitions outside of the ifdef in
security.h but clearly they aren't. Looks like James's tree has the fix
as of a couple of hours ago, so you should be fix on your next pull from
him.

-Eric

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/