NetBSD/lib
tls 4147a3c54a Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry.  RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros.  Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default.  Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
2007-05-28 12:06:17 +00:00
..
csu All platforms are MD_DO_NOT_NEED_FALLTHRU now so no need to keep it 2007-05-15 16:51:37 +00:00
i18n_module add new encoding support to iconv(3): 2007-04-01 18:52:28 +00:00
libarch fix more caddr_t -> void * fallout. 2007-03-05 03:05:16 +00:00
libasn1 Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libbluetooth Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libbsdmalloc
libbz2 Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libc Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libcom_err Remove -DKRB4 (Jukka Salmi) 2006-03-20 21:20:59 +00:00
libcompat Fix MKDEBUGLIB build. 2007-02-16 16:34:17 +00:00
libcrypt Remove more duplicate #includes, and a few spurious whitespaces at EOL 2007-01-17 23:24:22 +00:00
libcrypto Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libcrypto_idea
libcrypto_mdc2
libcrypto_rc5
libcurses Pull down the following from the wcurses branch: 2007-01-22 21:14:53 +00:00
libdes Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libedit Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libevent Avoid a warning about an unused variable if compiling with -DNDEBUG. 2007-01-26 19:34:30 +00:00
libform Remove more duplicate #includes, and a few spurious whitespaces at EOL 2007-01-17 23:24:22 +00:00
libgssapi Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libhdb Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libintl Remove more duplicate #includes, and a few spurious whitespaces at EOL 2007-01-17 23:24:22 +00:00
libipsec Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libiscsi Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libkadm5clnt Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libkadm5srv Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libkafs Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libkrb5 Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libkvm Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libl fixes for installing into a case insensitive $DESTDIR 2006-09-11 22:24:09 +00:00
libm Mark some internal libm symbols as hidden 2007-04-19 00:37:20 +00:00
libmagic Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libmenu fix spelling of accommodate; from Zapher. 2006-11-24 19:46:58 +00:00
libossaudio appease gcc -Wuninitialized. some delint 2005-06-01 11:22:18 +00:00
libpam Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libpcap Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libpci
libpmc Minus sign is \- 2005-10-31 11:45:49 +00:00
libposix
libprop Add prop_dictionary_all_keys.3 link (hi, potr). 2006-10-27 01:29:37 +00:00
libpthread Remove scheduler activations references. Bump date. 2007-05-19 14:24:42 +00:00
libpthread_dbg Remove more SA libpthread stuff. 2007-03-14 21:09:01 +00:00
libpuffs Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libradius Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
librefuse Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libresolv
librmt Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libroken Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
librpcsvc Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
librt Remove pointless AUTHORS sections. 2007-05-05 19:16:01 +00:00
libsdp Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libskey Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libsl Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libss Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libssh Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libssl Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libssp mention bcopy and bzero. 2007-05-24 20:50:28 +00:00
libtelnet Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
libterm Split "if (cond) stmt;" to be on separate lines. 2006-12-19 02:02:03 +00:00
libusbhid add generic Device Controls usage page information 2007-05-24 18:05:11 +00:00
libutil Remove pw_error prototype, the function is described in a different man page. 2007-02-17 09:37:55 +00:00
libvers
libwrap Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
liby ansify. 2005-12-05 01:50:28 +00:00
libz Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
bumpversion
checkoldver
checkver
checkvers
Makefile Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
Makefile.inc WFORMAT is no more... 2006-10-08 17:52:28 +00:00