Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#4894 closed enhancement (fixed)

Build with the "read-only relocation" hardening linker flag

Reported by: Ludovic Rousseau Owned by:
Priority: Should Have Milestone: Alpha 23
Component: Build & Packages Keywords:
Cc: Patch: Phab:D1123

Description

Debian checks that binaries are build with the "read-only relocation" hardening linker flag.

It is easy to enable and will increase the security of the 0ad binary. The Debian package already builds 0ad with the flag enabled. It would be great to have the change available upstream.

The Debian patch is available at https://sources.debian.org/src/0ad/0.0.22-3.1/debian/patches/enable-hardening-relro.patch/

Change History (5)

comment:1 by Ludovic Rousseau, 6 years ago

comment:2 by elexis, 6 years ago

Milestone: BacklogAlpha 23

comment:3 by Ludovic Rousseau, 6 years ago

The patch should be redone for premake5 (used by alpha 23) instead of premake4.

comment:4 by Adrián Chaves, 6 years ago

Patch: Phab:D1123
Resolution: fixed
Status: newclosed

comment:5 by fabio, 6 years ago

For reference: #1416.

Note: See TracTickets for help on using tickets.