Re: [PATCH][RFC] security: Convert LSM into a static interface

Chris Wright
2007-06-24T22:09:45Z

* James Morris (jmorris@namei.org) wrote:
> -module_param_named(disable, capability_disable, int, 0);
> -MODULE_PARM_DESC(disable, "To disable capabilities module set disable = 1");
> +
> +static int __init capability_disable_setup(char *str)
> +{
> + capability_disable = simple_strtol(str, NULL, 0);
> + return 1;
> +}
> +__setup("capability_disable=", capability_disable_setup);

This changes the command line argument. Other than that and a some
sanity testing I'll take this.

thanks,
-chris