[zaptel-commits] tzafrir: branch 1.4 r3997 - /branches/1.4/kernel/wcfxo.c

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Sun Mar 16 13:30:01 CDT 2008


Author: tzafrir
Date: Sun Mar 16 13:30:00 2008
New Revision: 3997

URL: http://svn.digium.com/view/zaptel?view=rev&rev=3997
Log:
cleanup wcfxo module parameters: 
* Make them all world-readable.
* If value only used at initialization, make them read-only.

Modified:
    branches/1.4/kernel/wcfxo.c

Modified: branches/1.4/kernel/wcfxo.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/kernel/wcfxo.c?view=diff&rev=3997&r1=3996&r2=3997
==============================================================================
--- branches/1.4/kernel/wcfxo.c (original)
+++ branches/1.4/kernel/wcfxo.c Sun Mar 16 13:30:00 2008
@@ -1081,11 +1081,11 @@
 }
 
 #ifdef LINUX26
-module_param(debug, int, 0600);
-module_param(quiet, int, 0600);
-module_param(boost, int, 0600);
-module_param(monitor, int, 0600);
-module_param(opermode, int, 0600);
+module_param(debug, int, 0644);
+module_param(quiet, int, 0444);
+module_param(boost, int, 0444);
+module_param(monitor, int, 0444);
+module_param(opermode, int, 0444);
 #else
 MODULE_PARM(debug, "i");
 MODULE_PARM(quiet, "i");




More information about the zaptel-commits mailing list