Re: [RFC] add kobject to struct module

From: Rusty Russell
Date: Wed Sep 10 2003 - 21:44:47 EST


In message <20030911003247.V30046@xxxxxxxxxxxxxxxxxxxxxx> you write:
> On Tue, Sep 09, 2003 at 03:24:21PM -0700, Greg KH wrote:
> > A while ago we had talked about adding a kobject to struct module. By
> > doing this we add support for module paramaters and other module info to
> > be exported in sysfs. So here's a patch that does this that is against
> > 2.6.0-test4 (it applies with some fuzz, sorry.)
>
> Please excuse my short-sightedness, but I think the following points
> haven't been thought deeply enough:

Well, obviously not publically enough, at least 8(.

To clarify: this is for new-style module params, which explicitly
control their own visibility with the perm arg.

One more reason for module authors to switch 8)

Hope that helps,
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/