Changeset 1bade3f for chapter08/gcc.xml


Ignore:
Timestamp:
09/10/2022 11:41:38 AM (20 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
8d3b254
Parents:
0611f706
Message:

Document the --enable-default-pie/ssp options

Also document test failures in gcc chapter 8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/gcc.xml

    r0611f706 r1bade3f  
    107107    </variablelist>
    108108
     109    <note id="pie-ssp-info" xreflabel="note on PIE and SSP">
     110      <para>
     111        PIE (position independent executable) is a technique to produce
     112        binary programs that can be loaded anywhere in memory. Together
     113        with a feature named ASLR (Address Space Layout Randomization),
     114        this allows programs to never have the same memory layout,
     115        thus defeating attacks based on reproducible memory patterns.
     116      </para>
     117      <para>
     118        SSP (Stack Smashing Protection) is a technique to ensure
     119        that the parameter stack is not corrupted. Stack corruption can
     120        for example alter the return address of a subroutine,
     121        which would allow transferring control to an attacker program instead
     122        of the original one.
     123      </para>
     124    </note>
     125
    109126    <para>Compile the package:</para>
    110127
     
    139156    url="&test-results;"/> and
    140157    <ulink url="https://gcc.gnu.org/ml/gcc-testresults/"/>.</para>
     158
     159    <para>In gcc, eleven tests, in the i386 test suite are known to FAIL.
     160    It's because the test files do not account for the
     161    <parameter>--enable-default-pie</parameter> option.</para>
    141162
    142163    <para>In g++, four tests related to PR100400 are known to be reported
Note: See TracChangeset for help on using the changeset viewer.