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: <4D4B097C.5050405@goop.org>
Date:	Thu, 03 Feb 2011 12:01:00 -0800
From:	Jeremy Fitzhardinge <jeremy@...p.org>
To:	"H. Peter Anvin" <hpa@...or.com>
CC:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Ingo Molnar <mingo@...e.hu>,
	Thomas Gleixner <tglx@...utronix.de>,
	"Pan, Jacob jun" <jacob.jun.pan@...el.com>,
	Rusty Russell <rusty@...tcorp.com.au>,
	Andres Salomon <dilinger@...ued.net>
Subject: Re: RFC: can we kill the KEEP_SEGMENTS bzImage flag?

On 02/03/2011 09:19 AM, H. Peter Anvin wrote:
>>   Bit 6 (write): KEEP_SEGMENTS
>>         Protocol: 2.07+
>>         - If 0, reload the segment registers in the 32bit entry point.
>>         - If 1, do not reload the segment registers in the 32bit entry point.
>>                 Assume that %cs %ds %ss %es are all set to flat segments with
>>                 a base of 0 (or the equivalent for their environment).
> Does anything actually rely on this bit or can we kill it?  I think it
> was added as a crutch for paravirtualization, but I'm being told it is
> not used...

We originally added it with the idea that we might change the Xen boot
sequence to just enter via the normal entrypoint before wandering off to
the Xen paravirt path - mostly as a way of making use of the bzImage's
own decompresser rather than having to have that externally.

But we never ended up doing that, so the paravirt boot path is unused by
Xen, and I don't see that changing.

I think VMI may have used it, but that's moot now.

So I think lguest is the only potential user, and I'm not sure if it
actually does.

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