summaryrefslogtreecommitdiff
path: root/target-alpha
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-11-15 20:12:17 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2011-11-21 15:05:59 -0600
commit40d6444e91c6ab17e5e8ab01d4eece90cbc4afed (patch)
tree12bdf76893cd40f7c552a8a27348164bc788f4f9 /target-alpha
parentff51a738cf487811a7890d5292c38bc30eb54e45 (diff)
downloadqemu-40d6444e91c6ab17e5e8ab01d4eece90cbc4afed.tar.gz
configure: build position independent executables on x86-Linux hosts
Change the default on x86 Linux hosts to building PIE (position independent executables); instead of restricting the option to user-only targets, apply it to all targets. In addition, set the relocation sections to read-only (relro) when available; this reduces the attack surface by disallowing changes to relocation tables at runtime. While PIE reduces performance and relro increases load time, it greatly improves security, with the potential to reduce a code execution vulnerability to a self denial of service. Non-x86 are not changed, as they require TCG changes; neither are non-Linux, due to lack of test coverage. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'target-alpha')
0 files changed, 0 insertions, 0 deletions