This is a note to let you know that I've just added the patch titled
security: fix compile error in commoncap.c
to the 3.0-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
security-fix-compile-error-in-commoncap.c.patch
and it can be found in the queue-3.0 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From 51b79bee627d526199b2f6a6bef8ee0c0739b6d1 Mon Sep 17 00:00:00 2001
From: Jonghwan Choi <[email protected]>
Date: Wed, 18 Apr 2012 17:23:04 -0400
Subject: security: fix compile error in commoncap.c
From: Jonghwan Choi <[email protected]>
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 <[email protected]>
Acked-by: Serge Hallyn <[email protected]>
Signed-off-by: James Morris <[email protected]>
Cc: Eric Paris <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
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
Patches currently in stable-queue which might be from [email protected]
are
queue-3.0/security-fix-compile-error-in-commoncap.c.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html