]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.3-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Apr 2012 18:22:19 +0000 (11:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Apr 2012 18:22:19 +0000 (11:22 -0700)
added patches:
security-fix-compile-error-in-commoncap.c.patch

queue-3.3/security-fix-compile-error-in-commoncap.c.patch [new file with mode: 0644]
queue-3.3/series

diff --git a/queue-3.3/security-fix-compile-error-in-commoncap.c.patch b/queue-3.3/security-fix-compile-error-in-commoncap.c.patch
new file mode 100644 (file)
index 0000000..23334db
--- /dev/null
@@ -0,0 +1,35 @@
+From 51b79bee627d526199b2f6a6bef8ee0c0739b6d1 Mon Sep 17 00:00:00 2001
+From: Jonghwan Choi <jhbird.choi@samsung.com>
+Date: Wed, 18 Apr 2012 17:23:04 -0400
+Subject: security: fix compile error in commoncap.c
+
+From: Jonghwan Choi <jhbird.choi@samsung.com>
+
+commit 51b79bee627d526199b2f6a6bef8ee0c0739b6d1 upstream.
+
+Add missing "personality.h"
+security/commoncap.c: In function 'cap_bprm_set_creds':
+security/commoncap.c:510: error: 'PER_CLEAR_ON_SETID' undeclared (first use in this function)
+security/commoncap.c:510: error: (Each undeclared identifier is reported only once
+security/commoncap.c:510: error: for each function it appears in.)
+
+Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
+Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
+Signed-off-by: James Morris <james.l.morris@oracle.com>
+Cc: Eric Paris <eparis@redhat.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ security/commoncap.c |    1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/security/commoncap.c
++++ b/security/commoncap.c
+@@ -28,6 +28,7 @@
+ #include <linux/prctl.h>
+ #include <linux/securebits.h>
+ #include <linux/user_namespace.h>
++#include <linux/personality.h>
+ /*
+  * If a non-root user executes a setuid-root binary in
index d4bb679fb5c6c160a8ecff5b4bbe5de77ca1710b..d7dbafe11c0e142572ba91dd7878ed0b9d5ad089 100644 (file)
@@ -64,3 +64,4 @@ usb-gadget-pch_udc-fix-wrong-return-value.patch
 usb-gadget-pch_udc-fix-usb-suspend-issue.patch
 usb-gadget-pch_udc-fix-usb-gadget-pch_udc-fix-ether.patch
 usb-gadget-pch_udc-reduce-redundant-interrupt.patch
+security-fix-compile-error-in-commoncap.c.patch