Logo
Explore Help
Sign In
OpenWrt/xiaomi-ax3600
1
0
Fork 0
You've already forked xiaomi-ax3600
mirror of https://github.com/immortalwrt/immortalwrt.git synced 2025-08-14 14:19:53 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
912974cc15031acb3ccf8e1bf12c5809ce01464e
xiaomi-ax3600/include/hardened-ld-pie.specs

3 lines
47 B
Plaintext
Raw Normal View History

build: add hardened builds with PIE (ASLR) support Introduce a configuration option to build a "hardened" OpenWrt with ASLR PIE support. Add new option PKG_ASLR_PIE to enable Address Space Layout Randomization (ASLR) by building Position Independent Executables (PIE). This new option protects against "return-to-text" attacks. Busybox need a special care, link is done with ld, not gcc, leading to unknown flags. Set BUSYBOX_DEFAULT_PIE instead and disable PKG_ASLR_PIE. If other failing packages were found, PKG_ASLR_PIE:=0 should be added to their Makefiles. Original Work by: Yongkui Han <yonhan@cisco.com> Signed-off-by: Julien Dusser <julien.dusser@free.fr>
2018-01-08 23:47:06 +01:00
*self_spec:
+ %{no-pie|static|r|shared:;:-pie}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.2 Page: 1110ms Template: 13ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API