#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
270168 |
|
19-Aug-2014 |
bdrewery |
Revert r267233 for now. PIE support needs to be reworked.
1. 50+% of NO_PIE use is fixed by adding -fPIC to INTERNALLIB and other build-only utility libraries. 2. Another 40% is fixed by generating _pic.a variants of various libraries. 3. Some of the NO_PIE use is a bit absurd as it is disabling PIE (and ASLR) where it never would work anyhow, such as csu or loader. This suggests there may be better ways of adding support to the tree. Many of these cases can be fixed such that -fPIE will work but there is really no reason to have it in those cases. 4. Some of the uses are working around hacks done to some Makefiles that are really building libraries but have been using bsd.prog.mk because the code is cleaner. Had they been using bsd.lib.mk then NO_PIE would not have been needed.
We likely do want to enable PIE by default (opt-out) for non-tree consumers (such as ports). For in-tree though we probably want to only enable PIE (opt-in) for common attack targets such as remote service daemons and setuid utilities. This is also a great performance compromise since ASLR is expected to reduce performance. As such it does not make sense to enable it in all utilities such as ls(1) that have little benefit to having it enabled.
Reported by: kib
|
#
267233 |
|
08-Jun-2014 |
bdrewery |
In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.
This is currently an opt-in build flag. Once ASLR support is ready and stable it should changed to opt-out and be enabled by default along with ASLR.
Each application Makefile uses opt-out to ensure that ASLR will be enabled by default in new directories when the system is compiled with PIE/ASLR. [2]
Mark known build failures as NO_PIE for now.
The only known runtime failure was rtld.
[1] http://www.bsdcan.org/2014/schedule/events/452.en.html Submitted by: Shawn Webb <lattera@gmail.com> Discussed between: des@ and Shawn Webb [2]
|
#
201390 |
|
02-Jan-2010 |
ed |
The last big commit: let usr.sbin/ use WARNS=6 by default.
|
#
154711 |
|
23-Jan-2006 |
delphij |
An old patch from Dan Lukes <dan at obluda.cz>:
+ Include netinet/in.h for ntohl() * Since the return value was tested separately, cast the values to size_t in order to shut up compiler warnings. + Raise WARNS= level to 6
PR: bin/71666
|
#
130927 |
|
22-Jun-2004 |
obrien |
Adjust the system endian and a.out headers to be more MI and cross-building friendly. Use the systems headers rather than local versions.
Reviewed by: ru
|
#
112092 |
|
11-Mar-2003 |
ru |
Make this work on different endianness machines.
Tested on: sparc64
: FreeBSD/i386 bootstrap loader, Revision 1.1 : (ru@panther.freebsd.org, Tue Mar 11 05:31:14 PST 2003) : Loading /boot/defaults/loader.conf
|
#
80084 |
|
21-Jul-2001 |
rnordier |
Unset MAINTAINER.
|
#
80029 |
|
20-Jul-2001 |
obrien |
Perform a major cleanup of the usr.sbin Makefiles. These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
|
#
80022 |
|
20-Jul-2001 |
obrien |
Remove GCC'isms in CFLAGS.
|
#
74816 |
|
26-Mar-2001 |
ru |
- Backout botched attempt to introduce MANSECT feature. - MAN[1-9] -> MAN.
|
#
74532 |
|
20-Mar-2001 |
ru |
Set the default manual section for usr.sbin/ to 8.
|
#
66555 |
|
02-Oct-2000 |
rnordier |
Set MAINTAINER.
|
#
55416 |
|
04-Jan-2000 |
marcel |
o Allow btxld to be compiled on 64-bit machines o s/unsigned/unsigned int/g o Add -Wall
btxld can now be built as a cross-tool for cross-building i386/pc98 on platforms that don't have btxld (such as alpha).
|
#
50479 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
39093 |
|
12-Sep-1998 |
rnordier |
This commit was generated by cvs2svn to compensate for changes in r39092, which included commits to RCS files with non-trunk default branches.
|
#
39092 |
|
12-Sep-1998 |
rnordier |
btxld is a link editor for BTX (boot extender) clients, supporting ELF, a.out, and binary formats.
|