From: Sam Ravnborg <sam@ravnborg.org>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: Andrew Morton <akpm@osdl.org>,
linux-arch@vger.kernel.org, Adrian Bunk <bunk@stusta.de>
Subject: Re: Double free of initramfs
Date: Wed, 23 Mar 2005 00:24:02 +0100 [thread overview]
Message-ID: <20050322232402.GA16597@mars.ravnborg.org> (raw)
In-Reply-To: <20050322225725.GB10549@mars.ravnborg.org>
On Tue, Mar 22, 2005 at 11:57:25PM +0100, Sam Ravnborg wrote:
> Something like this:
>
> ===== include/asm-generic/vmlinux.lds.h 1.18 vs edited =====
> --- 1.18/include/asm-generic/vmlinux.lds.h 2005-03-14 20:55:39 +01:00
> +++ edited/include/asm-generic/vmlinux.lds.h 2005-03-22 23:55:17 +01:00
> @@ -97,3 +97,12 @@
> VMLINUX_SYMBOL(__lock_text_start) = .; \
> *(.spinlock.text) \
> VMLINUX_SYMBOL(__lock_text_end) = .;
> +
> +/* initramfs area. */
> +# define INITRAMFS \
> + . = ALIGN(4096); \
Based on Tony's very valid comment this should read:
> + . = ALIGN(PAGE_SIZE); \
(Assuming the 4096 was a page alingment).
Sam
next prev parent reply other threads:[~2005-03-22 23:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-16 18:49 Double free of initramfs Ralf Baechle
2005-03-22 2:21 ` Andrew Morton
2005-03-22 22:10 ` Adrian Bunk
2005-03-22 22:41 ` Ralf Baechle
2005-03-22 22:57 ` Sam Ravnborg
2005-03-22 23:24 ` Sam Ravnborg [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-03-22 23:07 Luck, Tony
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=20050322232402.GA16597@mars.ravnborg.org \
--to=sam@ravnborg.org \
--cc=akpm@osdl.org \
--cc=bunk@stusta.de \
--cc=linux-arch@vger.kernel.org \
--cc=ralf@linux-mips.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox