Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 7 Feb 2002 16:45:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 7 Feb 2002 16:45:37 -0500 Received: from ns.suse.de ([213.95.15.193]:50190 "HELO Cantor.suse.de") by vger.kernel.org with SMTP id ; Thu, 7 Feb 2002 16:45:25 -0500 Date: Thu, 7 Feb 2002 22:45:24 +0100 (CET) From: Dave Jones To: Brent Cook Cc: Subject: Re: Fix for duplicate /proc entries In-Reply-To: <20020207152233.D6457-100000@ozma.union.utexas.edu> 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 Thu, 7 Feb 2002, Brent Cook wrote: > I had problems with loading kernel modules more in mind with this patch. > Try loading a kernel module that creates a /proc entry and then loading it > again with a different name. If the original module that created the /proc > entry is then unloaded, any further attempts to read the remaining proc > entry leads to a NULL pointer being handed back to the reading process. "Doctor it hurts when I do this" > It seems that this return value is handled differently (if at all ;) > throughout the kernel, so I don't know what effects having another error > condition might have on other code, such as acpi. If the other code is doing something dumb, don't be afraid to break it. -- | Dave Jones. http://www.codemonkey.org.uk | SuSE Labs - 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/