From: Magnus Granberg <zorry@ume.nu>
To: grub-devel@gnu.org
Subject: Re: [PATCH] Some distributions ship compilers that include -fPIE in the default specs (Gentoo Hardened)
Date: Thu, 3 Sep 2009 18:55:15 +0200 [thread overview]
Message-ID: <200909031855.15975.zorry@ume.nu> (raw)
>On Thu, Sep 03, 2009 at 12:31:57AM +0200, Magnus Granberg wrote:
>> >Why not just check if the compiler accepts -fno-PIE and use it? No
>> >harm done if -fPIE wasn't default, right?
>> ------
>> Didn't want to add -fno-PIE when it was not needed and to be on the
>> safe side . I can make it to check for -fno-PIE and use that.
>
>First approach was fine IMHO. But please include a ChangeLog entry.
>
>--
>Robert Millan
>
> The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
> how) you may access your data; but nobody's threatening your freedom: we
> still allow you to remove your data and not access it at all."
The ChangeLog
-----
2009-09-03 Magnus Granberg <zorry@ume.nu>
* aclocal.m4: Add grub_CHECK_PIE. It check if the compiler
include -fPIE in the default specs.
* configure.ac: Check if pie_possible is yes and add -fno-PIE
to TARGET_CFLAGS.
------
Hardened-Development
/Magnus Granberg (Zorry) <zorry@ume.nu>
next reply other threads:[~2009-09-03 16:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-03 16:55 Magnus Granberg [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-09-02 22:31 [PATCH] Some distributions ship compilers that include -fPIE in the default specs (Gentoo Hardened) Magnus Granberg
2009-09-03 14:17 ` Robert Millan
2009-09-01 21:46 Magnus Granberg
2009-09-01 21:48 ` richardvoigt
2009-09-03 16:33 ` Robert Millan
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=200909031855.15975.zorry@ume.nu \
--to=zorry@ume.nu \
--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.