NetBSD/lib/libcrypto
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
..
arch Sync sparc64 compile time options with the pkgsrc version. 2005-12-13 09:52:20 +00:00
man - Fix man pages for openssl upgrade 2007-03-07 20:43:10 +00:00
Makefile Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
aes.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
asn1.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
bf.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
bio.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
bn.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
buffer.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
cast.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
comp.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
conf.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
crypto.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
des.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
dh.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
dsa.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
dso.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
ec.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
ecdh.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
ecdsa.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
engine.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
err.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
evp.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
hmac.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
i_cbc_dummy.c use weak_alias to make libcrypto_{idea,rc5} actually useful. 2002-06-09 02:14:30 +00:00
i_skey_dummy.c use weak_alias to make libcrypto_{idea,rc5} actually useful. 2002-06-09 02:14:30 +00:00
idea.inc A couple of the xxx.inc files are non-standard. 2006-03-17 23:10:48 +00:00
krb5.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
lhash.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
man.inc A couple of the xxx.inc files are non-standard. 2006-03-17 23:10:48 +00:00
md2.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
md4.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
md5.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
mdc2.inc A couple of the xxx.inc files are non-standard. 2006-03-17 23:10:48 +00:00
mdc2dgst_dummy.c Remove more duplicate #includes, and a few spurious whitespaces at EOL 2007-01-17 23:24:22 +00:00
objects.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
ocsp.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
pem.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
pkcs7.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
pkcs12.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
pqueue.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
rand.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
rc2.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
rc4.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
rc5.inc A couple of the xxx.inc files are non-standard. 2006-03-17 23:10:48 +00:00
rc5_enc_dummy.c Remove more duplicate #includes, and a few spurious whitespaces at EOL 2007-01-17 23:24:22 +00:00
rc5_skey_dummy.c use weak_alias to make libcrypto_{idea,rc5} actually useful. 2002-06-09 02:14:30 +00:00
ripemd.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
rnd_keys.c
rsa.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
sha.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
shlib_version Add another include file. bump version for hardware cryptodev addition. 2005-12-31 00:04:51 +00:00
srcs.inc Add some more files needed by openssl 2005-11-26 00:35:58 +00:00
stack.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
store.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
txt_db.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
ui.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
x509.inc Don't add every source directory to the -I path. 2006-03-17 20:47:45 +00:00
x509v3.inc sort. 2007-03-10 16:30:45 +00:00