FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 04-18-2012, 09:23 PM
Jonghwan Choi
 
Default security: fix compile error in commoncap.c

CVE-2012-2123

BugLink: http://bugs.launchpad.net/bugs/987571

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>
(cherry picked from commit 51b79bee627d52)
Signed-off-by: Steve Conklin <sconklin@canonical.com>
---
security/commoncap.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/security/commoncap.c b/security/commoncap.c
index 5d5f64b..1d0010b 100644
--- a/security/commoncap.c
+++ b/security/commoncap.c
@@ -28,6 +28,7 @@
#include <linux/prctl.h>
#include <linux/securebits.h>
#include <linux/syslog.h>
+#include <linux/personality.h>

/*
* If a non-root user executes a setuid-root binary in
--
1.7.9.5

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 04-18-2012, 09:23 PM
Jonghwan Choi
 
Default security: fix compile error in commoncap.c

CVE-2012-2123

BugLink: http://bugs.launchpad.net/bugs/987571

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>
(cherry picked from commit 51b79bee627d52 with adjustment)
Signed-off-by: Steve Conklin <sconklin@canonical.com>
---
security/commoncap.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/security/commoncap.c b/security/commoncap.c
index 0acd490..7f239ff 100644
--- a/security/commoncap.c
+++ b/security/commoncap.c
@@ -27,6 +27,7 @@
#include <linux/sched.h>
#include <linux/prctl.h>
#include <linux/securebits.h>
+#include <linux/personality.h>

/*
* If a non-root user executes a setuid-root binary in
--
1.7.9.5

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 05:14 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org