Home | History | Annotate | only in /src/usr.bin/skeyinit
History log of /src/usr.bin/skeyinit
RevisionDateAuthorComments
 1.6 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.5 18-Sep-2002  lukem makefile delint. use NETBSDSRCDIR as appropriate
 1.4 24-Oct-1997  lukem use CPPFLAGS instead of CFLAGS
 1.3 09-Jan-1997  tls branches: 1.3.2;
RCS ID police
 1.2 22-Dec-1994  cgd specify man pages the new way.
 1.1 24-May-1994  deraadt add skey & friends
 1.3.2.1 08-Nov-1997  lukem sync with trunk (approved by thorpej)
 1.16 06-May-2013  jdf Fix capitalisation (again, last time the wrong sentence).
 1.15 06-May-2013  jdf * Remove OPTIONS section (uncommon) and put options to the DESCRIPTION.
* Fix capitalisation.

Patch supplied by Bug Hunting.
 1.14 19-Sep-2005  elad branches: 1.14.44; 1.14.50;
Document -k and -p.
Noted by wiz@, perry@.
 1.13 11-Sep-2005  wiz Mark up authors with .An. From YOMURA Masanori in private mail.
 1.12 01-Dec-2004  wiz Document -x, from Jeff Ito in PR 28494.
While here, sort options and fix various minor stuff.
 1.11 09-Apr-2001  wiz Fix date, and remove a trailing dot in .Nd.
 1.10 07-Jul-2000  mjl Update manpage to new options.
 1.9 22-Mar-1999  garbled branches: 1.9.10;
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.8 10-Mar-1999  erh Add missing .El line.
 1.7 09-Mar-1999  ross Missing .El.
 1.6 01-Nov-1997  mycroft Nuke trailing comma in SEE ALSO section.
 1.5 19-Oct-1997  lukem WARNSify, fix .Nm usage, xref all s/key related programs
 1.4 07-Jul-1995  jtc remove trailing comma from SEE ALSO section; PR #1194
 1.3 24-Dec-1994  cgd stdlib.h, RCS ID format
 1.2 30-Aug-1994  deraadt cleanup
 1.1 24-May-1994  deraadt add skey & friends
 1.9.10.1 17-Jul-2000  mjl Pull up S/Key overhaul (RFC2289 compliance, new hash types,
ctype clean up) from current. Approved by thorpej.
 1.14.50.1 23-Jun-2013  tls resync from head
 1.14.44.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.29 14-Apr-2009  lukem Fix -Wsign-compare issue
 1.28 05-Apr-2008  lukem branches: 1.28.10;
Default for -n is 100 not 99.
 1.27 20-Sep-2005  he Initialize pw to placate -Wuninitialized for sh3.
 1.26 19-Sep-2005  wiz Sync usage with man page.
 1.25 18-Sep-2005  elad Add -k key and -p password.
Slightly modified diff from V. Hari.
PR/15736.
 1.24 03-Nov-2004  dsl Add (unsigned char) cast to ctype functions
 1.23 05-Jan-2004  jmmv Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
 1.22 23-Jun-2003  agc Add NetBSD RCS Ids.
 1.21 17-May-2003  itojun use strl*
 1.20 16-Nov-2002  itojun use strlcpy
 1.19 01-Aug-2002  christos use LOGIN_NAME_MAX not UT_NAMELEN.
remove utmp.h
 1.18 11-Jun-2002  itojun err/errx/warn/warnx do not need \n at the end
 1.17 23-Apr-2002  itohy Make sure using stdin/stdout/stderr is safe
after opening any file.
 1.16 24-Jul-2001  wiz s/necesary/necessary/
 1.15 24-Mar-2001  christos make sure that me is null terminated.
 1.14 28-Jul-2000  thorpej Filter out non-alpha-numeric characters from the default
seed. No point in generating one that skey(1) will reject.
 1.13 07-Jul-2000  mjl Bring s/key closer to RFC2289 conformance by pulling in changes
from OpenBSD to make use of different hash functions possible.
Also ANSIfy, make it use getopt instead of home-grown arg parsing,
and clean up a bit.
 1.12 19-Dec-1998  christos branches: 1.12.10;
portability in printf args.
char -> unsigned char
 1.11 26-Jul-1998  mycroft const poisoning.
 1.10 06-Jul-1998  mrg nul-terminated strftime buffer. remove duplicate call to setpriority.
 1.9 06-Jul-1998  mrg - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
 1.8 19-Oct-1997  lukem WARNSify, fix .Nm usage, xref all s/key related programs
 1.7 11-Feb-1997  mrg use strncpy.
 1.6 05-Jun-1995  pk #include <err.h> & <ctype.h>; remove extraneous declarations.
 1.5 24-Dec-1994  cgd stdlib.h, RCS ID format
 1.4 30-May-1994  deraadt better seed initialization
 1.3 30-May-1994  cgd reorg include order, also add <sys/param.h> for MAXHOSTNAMELEN
 1.2 29-May-1994  deraadt fix bug 266
 1.1 24-May-1994  deraadt add skey & friends
 1.12.10.2 25-Apr-2001  he Pull up revision 1.15 (requested by mjl):
Fix spurious error message when run by non-root. Fixes PR#12465.
 1.12.10.1 17-Jul-2000  mjl Pull up S/Key overhaul (RFC2289 compliance, new hash types,
ctype clean up) from current. Approved by thorpej.
 1.28.10.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

RSS XML Feed