lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200808150932.44204.rusty@rustcorp.com.au>
Date:	Fri, 15 Aug 2008 09:32:43 +1000
From:	Rusty Russell <rusty@...tcorp.com.au>
To:	Greg KH <greg@...ah.com>
Cc:	arjan@...ux.intel.com, linux-kernel@...r.kernel.org
Subject: Re: Core kernel parameters and /sys/parameters?

On Friday 15 August 2008 08:25:22 Greg KH wrote:
> On Thu, Jul 31, 2008 at 01:59:02PM +1000, Rusty Russell wrote:
> > Hi Greg,
> >
> >    Was looking at implementing "core_param" for things like
> > "initcall_debug" (ie. params with no prefix), and wanted to put them in
> > sysfs of course.  I hacked in a new "kernel" dir, but
> > /sys/module/kernel/parameters/ is a bit of an odd place for it to end up
> > in.
> >
> >    I noticed this comment in params.c:
> >
> >  * /sys/module/[mod->name]/parameters to /sys/parameters/[mod->name]/
> >
> > I like the idea of /sys/parameters/ much better (perhaps even with core
> > parameters at the top level).  Is this obsolete?  Planned?
>
> Did I write that comment?  I sure don't remember it, sorry :)
>
> I don't have any plans on changing this, but I do know people use the
> /sys/module/MODULE_NAME/parameters interface today, why change it?

Well mainly that many of them aren't modules, so if a change was planned for 
some other reason I'd support it.

And as I said, having core parameters (ie. converting things which are current 
__setup) appear in /sys/module/kernel/parameters/ is a bit strange.

Cheers,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ