Home | History | Annotate | only in /src/usr.bin/from
History log of /src/usr.bin/from
RevisionDateAuthorComments
 1.4 28-May-2007  tls 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.
 1.3 01-Sep-1995  jtc Sync with 4.4lite2
 1.2 31-Jul-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 01-Sep-1995  jtc imported from 44lite2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.8 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.7 01-Dec-2001  wiz Whitespace cleanup.
 1.6 22-Mar-1999  garbled 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.
 1.5 18-Oct-1997  lukem WARNSify, fix .Nm usage
 1.4 01-Sep-1995  jtc Sync with 4.4lite2
 1.3 11-Jan-1994  jtc Fix spelling errors.
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 01-Sep-1995  jtc imported from 44lite2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.17 21-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.16 30-Oct-2004  dsl branches: 1.16.28;
isupper(x) can be true for x in [128..255], but since tolower(x) is required
to return x if it cannot be translated we don't need the isupper() test.
 1.15 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.14 15-Nov-2001  kleink Try $LOGNAME first, then fall back to $USER.
 1.13 01-Jul-2001  mjl Use appropriate errx/err at the right places.
Use snprintf() when dealing with user supplied arg.
 1.12 08-Sep-2000  mjl Oops, errx() not err().
 1.11 08-Sep-2000  mjl Un-__P, ANSI- and constify.
 1.10 08-Sep-2000  mjl Use err()
 1.9 19-Dec-1998  christos char -> unsigned char
 1.8 18-Oct-1997  lukem WARNSify, fix .Nm usage
 1.7 18-Oct-1997  lukem getopt returns -1 not EOF
 1.6 01-Sep-1995  jtc Sync with 4.4lite2
 1.5 24-Nov-1994  deraadt mail honours $USER, and from should too.
 1.4 15-Sep-1994  deraadt handle `from user' without croaking
 1.3 25-Jan-1994  deraadt use the value of $MAIL (if set) as the default mailbox (like SunOS)
from christos@deshaw.com (Christos Zoulas)
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 01-Sep-1995  jtc imported from 44lite2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.16.28.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.

RSS XML Feed