Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751392AbZGSTst (ORCPT ); Sun, 19 Jul 2009 15:48:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750893AbZGSTsr (ORCPT ); Sun, 19 Jul 2009 15:48:47 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:59359 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750838AbZGSTsq (ORCPT ); Sun, 19 Jul 2009 15:48:46 -0400 Date: Sun, 19 Jul 2009 12:47:25 -0700 (PDT) From: Linus Torvalds X-X-Sender: torvalds@localhost.localdomain To: Athanasius cc: linux-kernel , Julien TINNES , Greg KH , Tavis Ormandy , Christoph Hellwig , Kees Cook , Eugene Teo Subject: Re: [link@miggy.org: Re: [patch 2/8] personality: fix PER_CLEAR_ON_SETID (CVE-2009-1895)] In-Reply-To: <20090719193917.GK6722@miggy.org> Message-ID: References: <20090718202512.GA19587@suse.de> <20090718212812.GI6722@miggy.org> <4A6278FD.20807@cr0.org> <20090719122701.GJ6722@miggy.org> <20090719193917.GK6722@miggy.org> User-Agent: Alpine 2.01 (LFD 1184 2008-12-16) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 932 Lines: 25 On Sun, 19 Jul 2009, Athanasius wrote: > > Would you agree that having these features default-off would be best? I'm actually pretty sure that some glibc versions in particular have actively used some of the personality bits. I have this fairly clear memory of seeing 'personality()' system calls in strace output from regular programs. I just tested it, and I'm not seeing it in my current distro for normal programs, but the point is, I'm pretty sure that we have real binaries out there that depend on personality bits. So we can't default-off the whole personality thing. We would have to default-off just a subset of the bits. Would that be useful? Perhaps. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/