mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
a65ab773b4
The PIE and RELRO compiler/linker options can be used to produce a code some techniques applied that makes the code more immune to some attacks: - PIE (Position Independent Executable). It can make use of the ASLR (Address Space Layout Randomization) provided by kernel to avoid static locations for .text regions of executables (this is the 'pie' compiler and linker option) - RELRO (Relocation Read-Only). This prevents overwrite attacks of the GOT (Global Offset Table) and PLT (Procedure Lookup Table) used for relocations by making it read-only after all relocations are resolved (these are the 'relro' and 'now' linker options) - hence all symbols are resolved at the very start so there's no need for those tables to be writeable later. These compiler/linker options are now used by default for daemons if the compiler/linker supports it. |
||
---|---|---|
.. | ||
clogd.c | ||
cluster.c | ||
cluster.h | ||
common.h | ||
compat.c | ||
compat.h | ||
functions.c | ||
functions.h | ||
link_mon.c | ||
link_mon.h | ||
local.c | ||
local.h | ||
logging.c | ||
logging.h | ||
Makefile.in |