[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 08 Sep 2009 19:47:21 -0500
From: "Jory A. Pratt" <anarchy@...too.org>
To: "akpm@...ux-foundation.org" <akpm@...ux-foundation.org>
CC: linux-kernel@...r.kernel.org, torvalds@...ux-foundation.org,
hardened-dev@...too.org
Subject: [PATCH] Fix cc1 options check to ensure we do not use -fPIC when
compiling
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have sent this to the lkml, it seems to have been pushed to the back
burner. This is a major issue effecting users/developers that are
working on a much more security enhanced system. This means any gentoo
user running a hardened toolchain will have problems building a kernel
that works as expect. This patch does nothing but pass the macro
- -D__KERNEL__ to ensure that hardened toolchain drops back to that of a
vanilla toolchain to prevent unexpected compile problems in the kernel.
Jory
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkqm+xkACgkQwnA7Q1Z0YScE9QCbBA+cHQ4Q92Ajl3DKbBqEKQT+
VPUAoKFMx2dQQI7+fGWJWaqoNS7MK1sc
=67Hv
-----END PGP SIGNATURE-----
View attachment "fix-cc-options-test-to-ensure-we-do-not-step-on-compile-flags.patch" of type "text/plain" (1321 bytes)
Powered by blists - more mailing lists