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>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0705082102440.3459@pentafluge.infradead.org>
Date:	Tue, 8 May 2007 21:07:42 +0100 (BST)
From:	James Simmons <jsimmons@...radead.org>
To:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
cc:	Linux console project <linuxconsole-dev@...ts.sourceforge.net>
Subject: [PATCH] kmsg_redirect move


This is the start of migrating the working of the linuxconsole project to 
the mainline kernel. 

This first patch moves kmsg_redirect to vt_kern.h thus making tty.h 
independent of anything from the VT layer. Tested on my local system.
Comments welcomed.

Signed-Off: James Simmons <jsimmons@...radead.org>

diff --git a/include/linux/tty.h b/include/linux/tty.h
index dee72b9..8661b16 100644
--- a/include/linux/tty.h
+++ b/include/linux/tty.h
@@ -280,8 +280,6 @@ extern void tty_write_flush(struct tty_struct *);
 
 extern struct ktermios tty_std_termios;
 
-extern int kmsg_redirect;
-
 extern void console_init(void);
 extern int vcs_init(void);
 
diff --git a/include/linux/vt_kern.h b/include/linux/vt_kern.h
index e0db669..5a08774 100644
--- a/include/linux/vt_kern.h
+++ b/include/linux/vt_kern.h
@@ -26,7 +26,7 @@
 
 extern void kd_mksound(unsigned int hz, unsigned int ticks);
 extern int kbd_rate(struct kbd_repeat *rep);
-extern int fg_console, last_console, want_console;
+extern int fg_console, last_console, want_console, kmsg_redirect;
 
 /* console.c */
 
-
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