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