lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 22 Apr 2008 00:51:28 +0300
From:	"Tomas Winkler" <tomasw@...il.com>
To:	"SL Baur" <steve@...acs.org>
Cc:	yi.zhu@...el.com, linux-wireless@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iwlwifi 3945 debug parameter should be writable via sysfs

On Mon, Apr 21, 2008 at 10:10 AM, SL Baur <steve@...acs.org> wrote:
> Is there any reason why the debug parameter in the iwlwifi driver
>  should be read-only?
>
>  (Patch inlined and attached since I'm sure it will get whitespace
>  broken).
>
>
>  The debug parameter of the Intel 3945ABG driver should be writable
>  via sysfs.
>
>  Signed-off-by: SL Baur <steve@...acs.org>
>  ---
>  This patch is against Linus' 2.6.25 release.
>
>  --- linux-2.6/drivers/net/wireless/iwlwifi/iwl3945-base.c~      2008-04-17
>  10:15:33.000000000 -0700
>  +++ linux-2.6/drivers/net/wireless/iwlwifi/iwl3945-base.c       2008-04-20
>  23:49:35.000000000 -0700
>  @@ -8855,7 +8855,7 @@ MODULE_PARM_DESC(disable, "manually disa
>   module_param_named(hwcrypto, iwl3945_param_hwcrypto, int, 0444);
>   MODULE_PARM_DESC(hwcrypto,
>                  "using hardware crypto engine (default 0 [software])\n");
>  -module_param_named(debug, iwl3945_param_debug, int, 0444);
>  +module_param_named(debug, iwl3945_param_debug, int, 0644);
>   MODULE_PARM_DESC(debug, "debug output mask");
>   module_param_named(disable_hw_scan, iwl3945_param_disable_hw_scan, int, 0444);
>   MODULE_PARM_DESC(disable_hw_scan, "disable hardware scanning (default 0)");
>
>  -sb
>
it doesn't have any affect on debug output though.  This variable is
copied to to another one in pci proble
so unless you have 2 cards there is no use for it.
Run time debug output can be handled through debug_level sysfs entry
/sys/bus/pci/drivers/iwl4965/debug_level
Yet this will be changed as well to be per device instead of per driver
Tomas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ