RELRO
Relocation Read-Only
Last updated
Relocation Read-Only
Last updated
Relocation Read-Only (or RELRO) is a security measure against .
There are two RELRO "modes": partial and full.
Partial RELRO offers little additional protection, aside from ensuring that the is located in memory before the BSS (Block Started by Symbol) section. This eliminates the risk of a on a global variable overwriting GOT entries.
Full RELRO makes the entire GOT read-only which removes the ability to perform a "" attack.