Re: [patch 5/12] lsm stacking v0.2: actual stacker module

From: serge
Date: Sat Jul 02 2005 - 19:26:54 EST


Thanks for all your comments.

Quoting Greg KH (greg@xxxxxxxxx):
> On Thu, Jun 30, 2005 at 02:50:43PM -0500, serue@xxxxxxxxxx wrote:
> > +/* variables to hold kobject/sysfs data */
> > +static struct subsystem stacker_subsys;
>
> Use decl_subsys please.
>
> And yes, James is right, only value per sysfs file is allowed.

Hmm, I could instead have one file per loaded LSM, which could
obviate the need for the stacker/unload file, but that would make
it more work for a user to find the ordering of the LSMs. I wonder
how much that would matter.

I'll implement your other changes, and consider switching to a
stackerfs (versus changing the content presentation under sysfs).

thanks,
-serge
-
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/