freebsd-src/share
Marcin Wojtas 396e9f259d Enable PIE by default on 64-bit architectures
This patch adds Position Independent Executables (PIE)
flags for building OS. It allows to enable the ASLR
feature based only on the sysctl knobs, without
need to rebuild the image. Tests showed that
no problems with stability / performance degradation
were seen when using PIEs with ASLR disabled.

The change is limited only for 64-bit architectures.

Use bsd.opts.mk instead of the src.opts.mk in order
to satisfy all build dependencies related to MK_PIE.

Reviewed by: emaste, imp
Obtained from: Semihalf
Sponsored by: Stormshield
Differential Revision: https://reviews.freebsd.org/D28328

(cherry picked from commit 9a227a2fd6)
2022-01-23 11:09:54 +01:00
..
colldef Add collation version support to querylocale(3). 2020-11-08 02:50:34 +00:00
ctypedef Fix CTYPE for ja_JP.eucJP and ja_JP.SJIS. 2020-06-29 03:23:13 +00:00
dict
doc iwlwifi: add man pages 2021-12-30 18:28:32 +00:00
dtrace dtrace: fix ipfw_rule_info_t translator 2021-09-10 13:35:35 +03:00
examples ses: Correct spelling of "Temperature Sensor" 2021-10-07 15:40:56 -06:00
i18n Remove mkcsmapper_static and mkesdb_static from build-tools 2021-08-05 10:00:56 +01:00
keys pkgbase: Add a FreeBSD-pkg-bootstrap package 2022-01-05 18:23:53 +01:00
man zone.9: Remove documentation of non-existent NUMA configuration flags 2022-01-21 10:58:11 -05:00
misc pci_vendors: update to 2021.09.19 2021-09-22 12:05:56 +02:00
mk Enable PIE by default on 64-bit architectures 2022-01-23 11:09:54 +01:00
monetdef
msgdef
numericdef
security
sendmail
skel
snmp pkgbase: Put the mibs and defs in the bnsmp package 2021-06-30 09:24:33 +02:00
syscons pkgbase: Create a syscons-data package 2022-01-05 18:23:50 +01:00
tabset
termcap Update the screen termcap entries 2020-05-07 12:43:28 +00:00
tests
timedef Finsh readding Big5 in r317204, which was reverting r315568. This commit 2019-06-20 07:17:16 +00:00
vt pkgbase: Create a vt-data package 2022-01-05 18:23:49 +01:00
zoneinfo pkgbase: Put zoneinfo file in their own package 2021-01-04 16:18:36 +01:00
Makefile
Makefile.inc