* James Morris ([email protected]) 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- [PATCH try #2] security: Convert LSM into a static interface
- From: James Morris <[email protected]>
- Re: [PATCH][RFC] security: Convert LSM into a static interface
- From: Casey Schaufler <[email protected]>
- Re: [PATCH][RFC] security: Convert LSM into a static interface
- From: James Morris <[email protected]>
- [PATCH try #2] security: Convert LSM into a static interface
- References:
- Re: implement-file-posix-capabilities.patch
- From: "Serge E. Hallyn" <[email protected]>
- Re: implement-file-posix-capabilities.patch
- From: Andrew Morgan <[email protected]>
- Re: implement-file-posix-capabilities.patch
- From: "Serge E. Hallyn" <[email protected]>
- Re: implement-file-posix-capabilities.patch
- From: James Morris <[email protected]>
- [PATCH][RFC] security: Convert LSM into a static interface
- From: James Morris <[email protected]>
- Re: implement-file-posix-capabilities.patch
- Prev by Date: Re: pivot_root alternative
- Next by Date: Re: [PATCH] trivial: the memset operation on a automatic array variable should be optimized out by data initialization
- Previous by thread: [PATCH][RFC] security: Convert LSM into a static interface
- Next by thread: Re: [PATCH][RFC] security: Convert LSM into a static interface
- Index(es):