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]
Message-ID: <487036D7.4050400@zytor.com>
Date:	Sat, 05 Jul 2008 20:07:03 -0700
From:	"H. Peter Anvin" <hpa@...or.com>
To:	"Eric W. Biederman" <ebiederm@...ssion.com>
CC:	Sean Young <sean@...s.org>, Jeremy Fitzhardinge <jeremy@...p.org>,
	Rusty Russell <rusty@...tcorp.com.au>,
	linux-kernel@...r.kernel.org
Subject: Re: Regression: boot failure on AMD Elan TS-5500

Eric W. Biederman wrote:
> Sean Young <sean@...s.org> writes:
> 
>> On Mon, Jun 30, 2008 at 02:52:10PM -0700, Jeremy Fitzhardinge wrote:
>>> It's a bit odd that the boot loader neglected to set up ds properly, but 
>>> changing the testb line to
>>>
>>> 	testb $(1<<6), %cs:BP_loadflags(%esi)
>>>
>>> should work.  (Or perhaps a %ss: override would be better?)
>> Yup, it does (%cs: prefix).
> 
> Guys I have a fuzzy memory of reads and definitely writes through %cs not working,
> on some processor models.  i386?
> 

You can never write through %cs in protected mode.

You can read through %cs: in protected mode unless %cs contains an 
execute-only descriptor.

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