Re: [PATCH] security: Fix nommu build.

From: James Morris
Date: Mon Jul 02 2012 - 09:57:45 EST


On Mon, 2 Jul 2012, Paul Mundt wrote:

> The security + nommu configuration presently blows up with an undefined
> reference to BDI_CAP_EXEC_MAP:
>
> security/security.c: In function 'mmap_prot':
> security/security.c:687:36: error: dereferencing pointer to incomplete type
> security/security.c:688:16: error: 'BDI_CAP_EXEC_MAP' undeclared (first use in this function)
> security/security.c:688:16: note: each undeclared identifier is reported only once for each function it appears in
>
> include backing-dev.h directly to fix it up.
>
> Signed-off-by: Paul Mundt <lethal@xxxxxxxxxxxx>

Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next


--
James Morris
<jmorris@xxxxxxxxx>
--
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/