From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266308AbUHBG7h (ORCPT ); Mon, 2 Aug 2004 02:59:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266310AbUHBG7h (ORCPT ); Mon, 2 Aug 2004 02:59:37 -0400 Received: from ausmtp02.au.ibm.com ([202.81.18.187]:42640 "EHLO ausmtp02.au.ibm.com") by vger.kernel.org with ESMTP id S266308AbUHBGry (ORCPT ); Mon, 2 Aug 2004 02:47:54 -0400 Subject: Re: [RFC] [PATCH 2/2] export module parameters in sysfs for modules _and_ built-in code: remove /sys/module/*parameters* From: Rusty Russell To: Dominik Brodowski Cc: lkml - Kernel Mailing List In-Reply-To: <20040801165410.GB8667@dominikbrodowski.de> References: <20040801165410.GB8667@dominikbrodowski.de> Content-Type: text/plain Message-Id: <1091429252.426.15.camel@bach> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 02 Aug 2004 16:47:33 +1000 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2004-08-02 at 02:54, Dominik Brodowski wrote: > Remove the exporting of module parameters in sysfs in /sys/module, > and clean up the exporting of the attribute "refcnt". One functionality > change: it is always exported now, and if !CONFIG_MODULE_UNLOAD, it reports > 1. I don't think this is a good idea: we shouldn't lie to userspace unless we need to for compatibility reasons. Rusty. -- Anyone who quotes me in their signature is an idiot -- Rusty Russell