trict VT switching per VT - Thomas Warwaris - May 2001
*/
#include
@@ -41,6 +42,7 @@
#endif /* CONFIG_FB_COMPAT_XPMAC */
char vt_dont_switch;
+char vt_dont_switch_to [MAX_NR_CONSOLES];
extern struct tty_driver console_driver;
#define VT_IS_IN_USE(i)(console_driver.table[i] &
Hi,
this patch (on 2.4.4) replaces the calls for suser()
in vt.c by capable(CAP_SYS_ADMIN).
Any comments are welcome.
I am not on the kernel list. Please CC me followups
to [EMAIL PROTECTED]
Thomas
diff -urN -X dontdiff linux-2.4.4.ori/drivers/char/vt.c linux/drivers/char/vt.c
--- linux-2.4.4
2 matches
Mail list logo