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>] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 14 Dec 2006 21:25:20 +0100
From:	nuxdoors@...etel.net
To:	vojtech@....cz
Cc:	linux-kernel@...r.kernel.org
Subject: [PATCH 2.6.19.1] sunkbd.c: fix sunkbd_enable(sunkbd, 0); obvious

From: Fabrice Knevez <nuxdoors@...etel.net>

"sunkbd_enable(sunkbd, 0);" has no effect. Adding "sunkbd->enabled = enable" in sunkbd_enable (obvious)

Signed-off-by: Fabrice Knevez <nuxdoors@...etel.net>

---

Sorry about thunderbird mangling the patch in the first email...
I don't have any sun keyboard, i was just reading the sources and it seemed like an obvious modification.

--- linux-2.6.19.1/drivers/input/keyboard/sunkbd.c.orig	2006-12-11 20:32:53.000000000 +0100
+++ linux-2.6.19.1/drivers/input/keyboard/sunkbd.c	2006-12-14 17:32:48.000000000 +0100
@@ -225,7 +225,7 @@ static void sunkbd_reinit(void *data)
 static void sunkbd_enable(struct sunkbd *sunkbd, int enable)
 {
 	serio_pause_rx(sunkbd->serio);
-	sunkbd->enabled = 1;
+	sunkbd->enabled = enable;
 	serio_continue_rx(sunkbd->serio);
 }



-
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