Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 14 Oct 2002 15:14:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 14 Oct 2002 15:14:05 -0400 Received: from dsl-65-188-232-225.telocity.com ([65.188.232.225]:29136 "EHLO area51.underboost.net") by vger.kernel.org with ESMTP id ; Mon, 14 Oct 2002 15:14:04 -0400 Date: Sun, 13 Oct 2002 15:17:07 -0400 (AST) From: Ron Henry To: linux-kernel@vger.kernel.org Subject: THIS_MODULE->name=""; In-Reply-To: <5.1.0.14.2.20021014115238.084140f8@mail1.qualcomm.com> 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 Content-Length: 688 Lines: 16 Should there be a check in sys_module_init to check for a 0 lenth name being specified in struct module? If THIS_MODULE->name=""; is added within a kernel module, future attempts to load, unload and query a module will fail. I can't think of any reason why someone should need to ability to set a 0 length name. -Ron "the illiterate of the future are not those who can neither read or write but those that cannot learn, unlearn and relearn" - 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/