Home | History | Annotate | only in /src/usr.bin/netgroup
History log of /src/usr.bin/netgroup
RevisionDateAuthorComments
 1.2 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.1 02-Mar-1999  christos Netgroup access program.
 1.6 30-Apr-2008  martin Convert TNF licenses to new 2 clause variant
 1.5 30-Sep-2002  grant branches: 1.5.32;
New sentence, new line.
 1.4 01-Dec-2001  wiz Whitespace cleanup.
 1.3 13-Aug-2000  christos be more specific about the history section.
 1.2 10-Mar-1999  erh Add missing .El line.
 1.1 02-Mar-1999  christos Netgroup access program.
 1.5.32.1 18-May-2008  yamt sync with head.
 1.9 03-Sep-2016  dholland simplify __dead usage
 1.8 03-Sep-2016  sevan Remove K&R __P macros.
Remove main() function prototype if present.
Mark usage() as __dead if not already.
Binaries generated with & without these patches were compared with diff -r.
 1.7 20-Mar-2012  matt Use C89 function definitions
 1.6 28-Apr-2008  martin branches: 1.6.4;
Remove clause 3 and 4 from TNF licenses
 1.5 15-Dec-2007  perry branches: 1.5.4;
convert __attribute__s to applicable cdefs.h macros
 1.4 05-Jan-2004  jmmv branches: 1.4.24;
Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
 1.3 19-Feb-2001  cgd convert to use getprogname()
 1.2 03-Jul-2000  matt Make gcc 2.96 (and maybe earlier) happier. Include <stdlib.h>,<string.>,
etc. as appropriate to get exit,srncmp,abs,abort,etc.
Add -I${.CURDIR} to a few Makefiles
 1.1 02-Mar-1999  christos Netgroup access program.
 1.4.24.1 09-Jan-2008  matt sync with HEAD
 1.5.4.1 18-May-2008  yamt sync with head.
 1.6.4.1 17-Apr-2012  yamt sync with head

RSS XML Feed