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] [day] [month] [year] [list]
Message-ID: <20070809195359.GB3676@interface.famille.thibault.fr>
Date:	Thu, 9 Aug 2007 21:53:59 +0200
From:	Samuel Thibault <samuel.thibault@...-lyon.org>
To:	Andrew Morton <akpm@...ux-foundation.org>
Cc:	linux-kernel@...r.kernel.org,
	linuxconsole-dev@...ts.sourceforge.net, akpm@...gle.com
Subject: Re: [PATCH] unicode diacritics support

Hi,

Andrew Morton, le Thu 09 Aug 2007 12:46:42 -0700, a écrit :
> > Turn the kernel accent_table into unicode, and extend ioctls KDGKBDIACR
> > and KDSKBDIACR into their equivalents KDGKBDIACRUC and KDSKBDIACR.
> > 
> > New function int conv_uni_to_8bit(u32 uni) for converting unicode into 8bit
> > _input_.  No, we don't want to store the translation, as it is potentially
> > sparse and large.
> 
> This changes the kernel ABI a bit.  The KDGKBDIACR ioctl (and friends)
> now return different data.

No, they are still returning data encoded in the consolemap.

What was happening before is that the diacr variable wasn't always
encoded in latin1, it was encoded in the consolemap. Now diacr is always
unicode, so the diacritical translations now have to be translated into
consolemap for the old ioctl() to work as before.

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