Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upConsider applying `-Wl,-z,relro` or `-Wl,-z,relro,-z,now` by default #29877
Comments
brson
added
the
A-linkage
label
Nov 16, 2015
This comment has been minimized.
This comment has been minimized.
gus
commented
Nov 16, 2015
|
Sounds cool, but I didn't ask for that, @brson :) Cheers, |
This comment has been minimized.
This comment has been minimized.
|
Oops, wrong @gus. Sorry! Strong beard though. |
This comment has been minimized.
This comment has been minimized.
gus
commented
Nov 17, 2015
|
;) On Mon, Nov 16, 2015, 20:55 Brian Anderson notifications@github.com wrote:
|
This comment has been minimized.
This comment has been minimized.
|
There is something similiar on Fedora: Change: Harden all packages |
brson
added
the
P-low
label
May 4, 2017
This comment has been minimized.
This comment has been minimized.
|
Downside is that not every alternative linker out there might support the flags. |
brson
added
the
C-enhancement
label
May 4, 2017
This comment has been minimized.
This comment has been minimized.
|
@alexcrichton do recall if we've done anything here? I don't see 'relro' in the source. |
This comment has been minimized.
This comment has been minimized.
|
No I don't believe we ever implemented this, but would be good to do so! |
alexcrichton
closed this
May 4, 2017
alexcrichton
reopened this
May 4, 2017
This comment has been minimized.
This comment has been minimized.
|
er didn't mean to close |
This comment has been minimized.
This comment has been minimized.
|
FWIW, I also apply |
brson commentedNov 16, 2015
These are some options that Debian applies, and that @gus wants to apply to all Rust code. Generally, Rust likes to harden things by default when there are no obvious disadvantages. Is it feasible that we might just use these by default?