Commit Graph

31 Commits

Author SHA1 Message Date
andvar 0aa2b64219 remove double/tripple o in comments, where it likely was not added on purpose. 2023-06-27 19:30:27 +00:00
wiz 01869ca4d2 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
christos 51d0c37238 PR/50739: David Binderman: Check bounds before dereferencing. 2016-02-01 17:41:37 +00:00
joerg d9a44d716d Use more static and __dead. 2013-08-15 20:48:56 +00:00
dholland 65910359bc Passes WARNS=5, so don't set WARNS=3. 2013-08-11 06:47:38 +00:00
joerg 642cfb40e9 Use .%U instead of .%O for URLs. 2010-01-15 19:39:10 +00:00
lukem 238e973f29 Fix sign-compare issues 2009-04-14 10:11:28 +00:00
lukem 98e5374ccb Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 14:19:20 +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
xtraeme 4ed1105b0d WARNS=3 2005-01-12 14:45:26 +00:00
dsl f77de37ccc Use strtoul() for integer conversion 2004-10-30 17:02:20 +00:00
wiz 22b156ef33 Remove DISCLAIMER section, which is just part of the usual BSD license
(which is also in comments at the top of the file).
2004-06-04 10:28:37 +00:00
wiz c7cdc4e68b Convert SEE ALSO to use Rs/Re. 2004-06-04 10:25:22 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
grant be8ae688ae New sentence, new line. 2002-09-30 11:08:56 +00:00
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
wiz b8bbff606d mdocify. Needs a second pass for SEE ALSO section.
XXX: Why do we have a 'standard' disclaimer big in its own section here?
2001-12-01 18:49:55 +00:00
wiz aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
cgd a8ec668ddf convert to use getprogname() 2001-02-19 23:03:42 +00:00
mjl b46ec3b29b getopt(3) returns -1 not EOF. 2000-10-04 20:09:04 +00:00
thorpej 93bf7731c8 Make this build in a WARNS'ified environment. 2000-06-16 17:16:33 +00:00
thorpej 87bdc6b9ca Ressurect bdes(1). 2000-06-16 16:53:20 +00:00
thorpej 468b48414c The 4.4BSD bdes(1) program as existed in cryptosrc-us. 2000-06-16 16:50:39 +00:00
thorpej 1c912b351f Nuke this from orbit. We don't have placeholders for any of the other
only-in-crypto-us programs, so why should this be any different?
1999-07-12 22:07:22 +00:00
perry 3fe138c146 RCS Id Police. 1998-01-09 08:03:16 +00:00
mikel fdecd6a253 don't xref obsolete crypt(1) 1997-07-10 07:23:03 +00:00
christos 3917c3179d - Makefile cleanups 1997-03-24 21:57:01 +00:00
sommerfe e21d0de843 Fix PR1542: gross inaccuracies in bdes.1 Reviewed by Perry 1996-10-19 00:59:26 +00:00
thorpej 150c33e60b Use ${INSTALL}. 1996-10-18 05:55:26 +00:00
cgd 6cd3df5d59 add dummy bdes script, which prints an error to stderr and exits with an
error code.  include manual page, because it's exportable.  note in manual
page that installed version doesn't actually work.
1995-07-24 04:30:47 +00:00