[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20120419104145.2b8ffe08e9982048f5c0f5f1@canb.auug.org.au>
Date: Thu, 19 Apr 2012 10:41:45 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Linus <torvalds@...ux-foundation.org>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
Eric Paris <eparis@...hat.com>,
James Morris <james.l.morris@...cle.com>
Subject: linux-next: build failure in Linus' tree
Hi Linus,
While building Linus' tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:
security/commoncap.c: In function 'cap_bprm_set_creds':
security/commoncap.c:510:22: error: 'PER_CLEAR_ON_SETID' undeclared (first use in this function)
Caused by commit d52fc5dde171 ("fcaps: clear the same personality flags as suid when fcaps are used").
I added this patch for today:
From: Stephen Rothwell <sfr@...b.auug.org.au>
Date: Thu, 19 Apr 2012 10:38:26 +1000
Subject: [PATCH] security: commoncap.c needs to include personality.h
fixes this build error on PowerPC:
security/commoncap.c: In function 'cap_bprm_set_creds':
security/commoncap.c:510:22: error: 'PER_CLEAR_ON_SETID' undeclared (first use in this function)
Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
---
security/commoncap.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/security/commoncap.c b/security/commoncap.c
index 0ecf4ba..71a166a 100644
--- a/security/commoncap.c
+++ b/security/commoncap.c
@@ -29,6 +29,7 @@
#include <linux/securebits.h>
#include <linux/user_namespace.h>
#include <linux/binfmts.h>
+#include <linux/personality.h>
/*
* If a non-root user executes a setuid-root binary in
--
1.7.10.rc3
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
http://www.canb.auug.org.au/~sfr/
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists