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: <451EB4DB.3080508@aknet.ru>
Date:	Sat, 30 Sep 2006 22:18:03 +0400
From:	Stas Sergeev <stsp@...et.ru>
To:	Andrew Morton <akpm@...l.org>
Cc:	zach@...are.com, linux-kernel@...r.kernel.org,
	Chuck Ebbert <76306.1226@...puserve.com>,
	Jan Beulich <JBeulich@...ell.com>
Subject: [patch] espfix cleanup take 3

Hello.

Andrew Morton wrote:
> Ho hum, this conflicts moderately with the hypervisor preparatory patches
> which Jeremy sent.
> So could I ask that you redo this patch in a couple of weeks time against
> the current -mm lineup?
Done.

The attached patch cleans up the espfix code:
- Introduced PER_CPU() macro to be used from asm
- Introduced GET_DESC_BASE() macro to be used from asm
- Rewrote the fixup code in asm, as calling a C code with the altered %ss
  appeared to be unsafe
- No longer altering the stack from a .fixup section
- 16bit per-cpu stack is no longer used, instead the stack segment base
  is patched the way so that the high word of the kernel and user %esp
  are the same.
- Added the limit-patching for the espfix segment. (Chuck Ebbert)

Signed-off-by: Stas Sergeev <stsp@...et.ru>
Acked-by: Zachary Amsden <zach@...are.com>
Acked-by: Chuck Ebbert <76306.1226@...puserve.com>
Acked-by: Jan Beulich <jbeulich@...ell.com>


View attachment "espfcln3.diff" of type "text/plain" (12188 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ