pstore/ram: Adjust module param permissions to reflect reality
[sfrench/cifs-2.6.git] / fs / pstore / ram.c
index 795622190c01492e4fbd1a05b364d27fc8823003..3b399f72e495bffc6f4ed9c8ef2afd578e9c1d04 100644 (file)
@@ -53,17 +53,17 @@ MODULE_PARM_DESC(mem_size,
                "size of reserved RAM used to store oops/panic logs");
 
 static unsigned int mem_type;
-module_param(mem_type, uint, 0600);
+module_param(mem_type, uint, 0400);
 MODULE_PARM_DESC(mem_type,
                "set to 1 to try to use unbuffered memory (default 0)");
 
 static int dump_oops = 1;
-module_param(dump_oops, int, 0600);
+module_param(dump_oops, int, 0400);
 MODULE_PARM_DESC(dump_oops,
                "set to 1 to dump oopses, 0 to only dump panics (default 1)");
 
 static int ramoops_ecc;
-module_param_named(ecc, ramoops_ecc, int, 0600);
+module_param_named(ecc, ramoops_ecc, int, 0400);
 MODULE_PARM_DESC(ramoops_ecc,
                "if non-zero, the option enables ECC support and specifies "
                "ECC buffer size in bytes (1 is a special value, means 16 "