Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758769AbZCQSkH (ORCPT ); Tue, 17 Mar 2009 14:40:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754337AbZCQSjy (ORCPT ); Tue, 17 Mar 2009 14:39:54 -0400 Received: from silene.metacarta.com ([208.80.142.18]:57571 "EHLO silene.metacarta.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756145AbZCQSjx (ORCPT ); Tue, 17 Mar 2009 14:39:53 -0400 Date: Tue, 17 Mar 2009 14:39:49 -0400 (EDT) From: Joe Malicki To: Hugh Dickins Cc: chrisw@sous-sol.org, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, David Howells Message-ID: <14026175.11106541237315189656.JavaMail.root@ouachita> In-Reply-To: <3830454.11106421237315019351.JavaMail.root@ouachita> Subject: Re: [PATCH] CRED: Fix check_unsafe_exec() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [208.80.142.151] X-Mailer: Zimbra 5.0.9_GA_2533.UBUNTU6 (ZimbraWebClient - [unknown] (Linux)/5.0.9_GA_2533.UBUNTU6) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1438 Lines: 44 ----- "Hugh Dickins" wrote: > On Thu, 12 Mar 2009, David Howells wrote: > > Hugh Dickins wrote: > > > > > We do. See the original thread. It's here at > > > http://lkml.org/lkml/2009/2/26/233 > > > and appended below for convenience. We do know that patch did > not > > > fix Joe's problem, and we don't yet know whether addressing the > > > files->count issue will actually fix it, but I'm hopeful. > > > > Looks reasonable. > > Thanks for taking a look. > > Yes, I'm inclined to go with that, and removing the files->count > check from exec.c. Joe, did you manage to try your testing with > my original patch plus that files->count check removed from 2.6.28's > unsafe_exec()? Sorry for not responding earlier. I still got one failure with this new patch. I added some printks to illuminate exactly why it's failing when it fails to setuid, but of course, since adding the printks I haven't reproduced yet. Very weird... Thanks, Joe > Since Joe's bug has been around forever (if it is what we think it > is), I'm disinclined to rush the fix - something nice to add to > -stable, rather than needing to squeeze into 2.6.29. > > Hugh > -- 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/