From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] bring initial context to a known state
Date: Mon, 15 Oct 2007 16:03:02 +0200 [thread overview]
Message-ID: <20071015140302.GA17241@thorin> (raw)
In-Reply-To: <8a2a06bb0710100801p6741f1b0u60074014479eaf26@mail.gmail.com>
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 /.)
prev parent reply other threads:[~2007-10-15 14:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-07 15:42 [PATCH] bring initial context to a known state Robert Millan
2007-10-10 15:01 ` Marcin Kurek
2007-10-15 14:03 ` Robert Millan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071015140302.GA17241@thorin \
--to=rmh@aybabtu.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.