[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] bring initial context to a known state

From: Robert Millan
Subject: Re: [PATCH] bring initial context to a known state
Date: Mon, 15 Oct 2007 16:03:02 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Wed, Oct 10, 2007 at 05:01:44PM +0200, Marcin Kurek wrote:
> Hell[o]
> > When GRUB starts initial_context is in an unknown state.  This can lead to
> > GRUB detecting bogus variables from it.  Attached patch zeroes that struct
> > during initialisation to avoid that.
> This change broken command line argument handling for ieee1275.
> Arguments are read by grub_machine_init() in this case and zeroing is
> done just after that.
> I guess it should be placed before grub_machine_init() to avoid this problem.

Uhm.. Marco pointed out that it's in the ELF standard that memory is zeroed
before load.  So there isn't really a problem, and my issue was just found in
an inconsistent situation when playing with LB self-boot.

Let's kill this thread.

Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]