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] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 25 Aug 2006 01:15:36 +0200
From:	Andi Kleen <ak@...e.de>
To:	Jeremy Fitzhardinge <jeremy@...p.org>
Cc:	Andrew Morton <akpm@...l.org>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Zachary Amsden <zach@...are.com>
Subject: Re: [PATCH] Remove default_ldt, and simplify ldt-setting.

On Friday 25 August 2006 01:04, Jeremy Fitzhardinge wrote:
> (This is the replacement for kill-default_ldt.patch.)
> 
> Remove default_ldt, and simplify ldt-setting.
> 
> This patch removes the default_ldt[] array, as it has been unused
> since iBCS stopped being supported.  This means it is now possible to
> actually set an empty LDT segment.
> 
> In order to deal with this, the set_ldt_desc/load_LDT pair has been
> replaced with a single set_ldt() operation which is responsible for
> both setting up the LDT descriptor in the GDT, and reloading the LDT
> register. 

Looks good.

> If there are no LDT entries, the LDT register is loaded
> with a NULL descriptor.

x86-64 currently doesn't do this -- do you see an particular advantage 
in it?

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