Clarify why pie might be disabled

Just reading a textbook and LFS does not imply anything for compilation...
This commit is contained in:
Pierre Labastie 2022-10-18 09:59:00 +02:00
parent 0f9c02a9bf
commit b00c7d9905

View File

@ -14,10 +14,10 @@
<para>In the 11.3 release, <parameter>--enable-default-pie</parameter> <para>In the 11.3 release, <parameter>--enable-default-pie</parameter>
and <parameter>--enable-default-ssp</parameter> are enabled for GCC. and <parameter>--enable-default-ssp</parameter> are enabled for GCC.
These techniques can mitigate some malicious attacks, but they do not provide These techniques can mitigate some malicious attacks, but they do not provide
perfect security. If you are reading LFS and a programming textbook, perfect security. Note that some textbooks assume these options are
disabled, so that if you run examples from such a textbook on an LFS system,
you may need to disable PIE and SSP with the GCC options you may need to disable PIE and SSP with the GCC options
<parameter>-fno-pie -no-pie -fno-stack-protection</parameter>, <parameter>-fno-pie -no-pie -fno-stack-protection</parameter>.</para>
because some textbooks assume these options are disabled by default.</para>
<para>Here is a list of the packages updated since the previous <para>Here is a list of the packages updated since the previous
release of LFS.</para> release of LFS.</para>