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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:	Fri, 08 Aug 2008 23:06:23 +0200
From:	Thomas Ilnseher <illth@....de>
To:	linux-kernel@...r.kernel.org
Subject: [PATCH] Make atkbd.c use unsigned short instead of unsigned int

Hi list,

I've got an Acer Extensa 5220 with some extra "Euro" and "Dollar" keys.
I wanted to make these keys known to the kernel, so I wrote an .fdi file
for hal. 

Unfortunately the configuration of the "Euro" and "Dollar" (and some
other key) failed, because:
a) the atkbd driver uses unsigned char to store the keymap
b) the KEY_DOLLAR is 0x1b2 (which doesn't fit in 8 bits).

I created a small patch which changes the keymap to use 
unsigned short.

PS: I'm not subscribed to the LKML, please email me directly.




-- 
Thomas Ilnseher <illth@....de>

View attachment "atkbd_short.path" of type "text/x-patch" (2830 bytes)

Powered by blists - more mailing lists