Next: , Previous: Buffer overflow protection, Up: Security enhancement options


8.4 Read-only relocations

The GCC linker option of -Wl,z,relro for the read-only relocations provides read-only protection to several ELF memory sections after the program is loaded and linked completely by the linker to prevent attacks that involve overwriting data in the Global Offset Table (GOT).