From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762564AbYD2TFZ (ORCPT ); Tue, 29 Apr 2008 15:05:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755292AbYD2TFL (ORCPT ); Tue, 29 Apr 2008 15:05:11 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:56347 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754976AbYD2TFJ (ORCPT ); Tue, 29 Apr 2008 15:05:09 -0400 Date: Tue, 29 Apr 2008 12:02:14 -0700 (PDT) From: Linus Torvalds To: Greg KH cc: Alan Cox , linux-kernel@vger.kernel.org, stable@kernel.org, Justin Forbes , Zwane Mwaikambo , "Theodore Ts'o" , Randy Dunlap , Dave Jones , Chuck Wolber , Chris Wedgwood , Michael Krufky , Chuck Ebbert , Domenico Andreoli , akpm@linux-foundation.org, Jeff Garzik Subject: Re: [27/37] tehuti: move ioctl perm check closer to function start (CVE-2008-1675) In-Reply-To: <20080429185543.GA24643@suse.de> Message-ID: References: <20080429171222.073929148@mini.kroah.org> <20080429171901.GB14724@suse.de> <20080429191310.203384eb@core> <20080429185543.GA24643@suse.de> User-Agent: Alpine 1.10 (LFD 962 2008-03-14) 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 On Tue, 29 Apr 2008, Greg KH wrote: > > Hm, that's the way it is in Linus's tree, we should change it there > first. Done. It will be commit 6203554207728f43cfb9fd48585cd6500da73d42 when I push out (but please point to the original commit that actually adds the check: 6203554 just changes from CAP_NET_ADMIN to CAP_SYS_RAWIO and is not as important as adding the check in the first place. (I don't know of anybody who actually really uses capabilities with individual bits, so I seriously doubt it matters) Linus