]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - kernel/printk.c
ipg.c: remove id [SUNDANCE, 0x1021]
[net-next-2.6.git] / kernel / printk.c
index 6ff26151f4ffb16e56b517e2990aec1e38ba7491..38e7d5868d60ccdfc8f13176f6021a4a712cdee1 100644 (file)
@@ -210,7 +210,7 @@ __setup("log_buf_len=", log_buf_len_setup);
 
 #ifdef CONFIG_BOOT_PRINTK_DELAY
 
-static unsigned int boot_delay; /* msecs delay after each printk during bootup */
+static int boot_delay; /* msecs delay after each printk during bootup */
 static unsigned long long loops_per_msec;      /* based on boot_delay */
 
 static int __init boot_delay_setup(char *str)
@@ -261,6 +261,12 @@ static inline void boot_delay_msec(void)
 }
 #endif
 
+#ifdef CONFIG_SECURITY_DMESG_RESTRICT
+int dmesg_restrict = 1;
+#else
+int dmesg_restrict;
+#endif
+
 int do_syslog(int type, char __user *buf, int len, bool from_file)
 {
        unsigned i, j, limit, count;