Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 8 Mar 2002 04:26:03 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 8 Mar 2002 04:25:53 -0500 Received: from leibniz.math.psu.edu ([146.186.130.2]:55771 "EHLO math.psu.edu") by vger.kernel.org with ESMTP id ; Fri, 8 Mar 2002 04:25:38 -0500 Date: Fri, 8 Mar 2002 04:25:36 -0500 (EST) From: Alexander Viro To: Paul Menage cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] More user-space path handling cleanups In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 8 Mar 2002, Paul Menage wrote: > > This patch (against 2.5.6-pre3) replaces a few instances of the > getname()/path_lookup() combination with __user_walk(), in the same vein > as some of the changes accompanying the path_lookup() patch that was > included in 2.5.6-pre3. Broken. __user_walk() frees the temporary name it had created, leaving nd->last.name pointing nowhere (BTW, that's how I fucked up in the first version of patch that went into -pre3). - 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/