IT lexicon › Security › RELRO

RELRO

Security På svenska → Updated: 2026-11-13

Read-Only Relocations: a security feature that makes the relocation table read-only after startup.

At runtime, the OS fills a GOT (Global Offset Table) with relocated addresses for dynamic symbols. RELRO allows the runtime to downgrade write permissions on this table after it's been populated. An attacker exploiting a vulnerability can't overwrite the GOT to redirect function calls. Modern linkers use -Wl,-z,relro to enable it. It's nearly always on by default in modern Linux systems and has proven effective at thwarting entire classes of exploit.

← Back to the lexicon