• Paul Mundt's avatar
    security: Fix nommu build. · 75331a59
    Paul Mundt authored
    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: default avatarPaul Mundt <lethal@linux-sh.org>
    Signed-off-by: default avatarJames Morris <james.l.morris@oracle.com>
    75331a59
security.c 33.9 KB