Re: + lkdtm-module_param-fixes.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 31 Oct 2006 00:37:59 -0800 [email protected] wrote:

This patch is even cleaner:
http://lkml.org/lkml/2006/10/23/390

Did you drop it?  never see/have it?


> ------------------------------------------------------
> Subject: lkdtm: module_param fixes
> From: Andrew Morton <[email protected]>
> 
> A assume these permissions were a typo - Alexey's
> compile-time-check-re-world-writeable-module-params.patch catches it.
> 
> Fix a typo in the help string too.
> 
> Cc: Alexey Dobriyan <[email protected]>
> Cc: Ankita Garg <[email protected]>
> Cc: Vivek Goyal <[email protected]>
> Signed-off-by: Andrew Morton <[email protected]>
> ---
> 
>  drivers/misc/lkdtm.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff -puN drivers/misc/lkdtm.c~lkdtm-module_param-fixes drivers/misc/lkdtm.c
> --- a/drivers/misc/lkdtm.c~lkdtm-module_param-fixes
> +++ a/drivers/misc/lkdtm.c
> @@ -116,14 +116,14 @@ static enum ctype cptype = NONE;
>  static int count = DEFAULT_COUNT;
>  
>  module_param(recur_count, int, 0644);
> -MODULE_PARM_DESC(recur_count, "Recurcion level for the stack overflow test,\
> +MODULE_PARM_DESC(recur_count, "Recursion level for the stack overflow test,\
>  				 default is 10");
>  module_param(cpoint_name, charp, 0644);
>  MODULE_PARM_DESC(cpoint_name, "Crash Point, where kernel is to be crashed");
> -module_param(cpoint_type, charp, 06444);
> +module_param(cpoint_type, charp, 0644);
>  MODULE_PARM_DESC(cpoint_type, "Crash Point Type, action to be taken on\
>  				hitting the crash point");
> -module_param(cpoint_count, int, 06444);
> +module_param(cpoint_count, int, 0644);
>  MODULE_PARM_DESC(cpoint_count, "Crash Point Count, number of times the \
>  				crash point is to be hit to trigger action");

---
~Randy
-
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/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux