Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262530AbVDGRh1 (ORCPT ); Thu, 7 Apr 2005 13:37:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262532AbVDGRh1 (ORCPT ); Thu, 7 Apr 2005 13:37:27 -0400 Received: from mx1.redhat.com ([66.187.233.31]:18085 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S262530AbVDGRhV (ORCPT ); Thu, 7 Apr 2005 13:37:21 -0400 Date: Thu, 7 Apr 2005 13:37:13 -0400 From: Dave Jones To: "Richard B. Johnson" Cc: "Randy.Dunlap" , Magnus Damm , roland@topspin.com, asterixthegaul@gmail.com, damm@opensource.se, Linux kernel Subject: Re: [PATCH][RFC] disable built-in modules V2 Message-ID: <20050407173713.GD17485@redhat.com> Mail-Followup-To: Dave Jones , "Richard B. Johnson" , "Randy.Dunlap" , Magnus Damm , roland@topspin.com, asterixthegaul@gmail.com, damm@opensource.se, Linux kernel References: <20050407100147.7b91a2d2.rddunlap@osdl.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 975 Lines: 27 On Thu, Apr 07, 2005 at 01:22:57PM -0400, Richard B. Johnson wrote: > >| Anyway, besides nitpicking, is there any reason not to include this > >| code? Or is the added feature considered plain bloat? Yes, the kernel > >| will become a bit larger, but all the data added by this patch will go > >| into the init section. > > > >Looks like a good idea to me. > > > Can't you disable module-loading with a module? I think so. > You don't need to modify the kernel. Boot-scripts could > just load the "final" module and there is nothing that > can be done to add another module (or even unload existing > ones). Why do you need a module ? echo 0xFFFEFFFF ?> /proc/sys/kernel/cap-bound should do this just fine. Dave - 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/