Commit Graph

11 Commits

Author SHA1 Message Date
martin
ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
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
itojun
e97c220e91 use bounded string op 2003-07-23 04:11:12 +00:00
wiz
412304c9f2 Fix date. 2001-04-09 12:33:50 +00:00
garbled
9e44e9b578 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:16:34 +00:00
lukem
828d282354 cosmetic change 1997-11-08 09:37:44 +00:00
lukem
ae938c9b7a xref all s/key related programs 1997-10-19 23:22:17 +00:00
mikel
f60c9adfd6 include <string.h> and <unistd.h> for prototypes 1997-06-24 06:18:58 +00:00
christos
eb3207d9ee PR/3417: Andrew Brown: Skeyinfo should be a program so that if /etc/skeyskeys
is mode 600, it can only read the user's own keys.
1997-06-22 18:49:55 +00:00
thorpej
a500813c14 RCS id police. 1996-09-19 19:39:36 +00:00
deraadt
1fd3d53b2b bit of a cleanup 1994-06-24 08:06:23 +00:00