Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: security/security.c: In function 'mmap_prot': security/security.c:670:31: error: 'READ_IMPLIES_EXEC' undeclared (first use in this function) Caused by commit 185b26574c03 ("take security_mmap_file() outside of ->mmap_sem") from the vfs tree. Missing include of linux/personality.h. I have added this fix patch for today: From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Date: Fri, 1 Jun 2012 13:10:47 +1000 Subject: [PATCH] security: using READ_IMPLIES_EXEC needs personality.h Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> --- security/security.c | 1 + 1 file changed, 1 insertion(+) diff --git a/security/security.c b/security/security.c index 257fe77..3efc9b1 100644 --- a/security/security.c +++ b/security/security.c @@ -22,6 +22,7 @@ #include <linux/fsnotify.h> #include <linux/mman.h> #include <linux/mount.h> +#include <linux/personality.h> #include <net/flow.h> #define MAX_LSM_EVM_XATTR 2 -- 1.7.10.280.gaa39 -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
Attachment:
pgpHQ1ZwVSyZ9.pgp
Description: PGP signature