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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.61.0704022108190.17673@yvahk01.tjqt.qr>
Date:	Mon, 2 Apr 2007 21:10:16 +0200 (MEST)
From:	Jan Engelhardt <jengelh@...ux01.gwdg.de>
To:	"Antonino A. Daplas" <adaplas@...il.com>
cc:	Andrew Morton <akpm@...l.org>,
	Linux Kernel Development <linux-kernel@...r.kernel.org>,
	Paul LeoNerd Evans <leonerd@...nerd.org.uk>,
	"H. Peter Anvin" <hpa@...or.com>
Subject: Re: [PATCH] vt: Do not clear UTF when resetting console


On Apr 2 2007 22:13, Antonino A. Daplas wrote:
>Resetting the console, either by ANSI escape sequences or by the reset utility,
>will drop the console back to legacy (non-UTF-8) mode. Fix this by leaving the
>field vc_data.vc_utf untouched in reset_terminal(). In addition, a global
>variable (default_utf8) which defines system-wide UTF-8 setting is created.
>This variable can be adjusted via sysfs.
>
>This is based from patches by Jan Engelhardt and Paul LeoNerd Evans.
>
>Signed-off-by: Antonino Daplas <adaplas@...il.com>

Signed-off-by: Jan Engelhardt <jengelh@....de>


>---
>
> drivers/char/vt.c |    4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)


BTW. Is it feasible to make utf8 the default (static int default_utf8 = 1)
or is that likely to break some installs?


> static int printable;		/* Is console ready for printing? */
>+static int default_utf8;
>+module_param(default_utf8, int, S_IRUGO | S_IWUSR);

It's probably just me, but I would have used an unsiged int.



Jan
-- 
-
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