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:	Sun, 19 Jul 2009 18:06:35 +0200
From:	Uros Bizjak <ubizjak@...il.com>
To:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: [PATCH, x86]: Fix movq immediate operand constraints in uaccess_64.h

Hello!

arch/x86/include/asm/uaccess_64.h uses wrong asm operand constraint 
("ir") for movq insn. Since movq sign-extends its immediate operand, 
"er" constraint should be used instead.

Attached patch changes all uses of __put_user_asm in uaccess_64.h to use 
"er" when "q" insn suffix is involved.

Patch was compile tested on x86_64 with defconfig.

Uros.

View attachment "p.diff.txt" of type "text/plain" (1476 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ