Home | History | Annotate | only in /src/usr.bin/ruptime
History log of /src/usr.bin/ruptime
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 09-Jan-1997  tls Sync to 4.4BSD-Lite2
 1.2 30-Jul-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
after 0.2.2 "stable" patches applied
 1.1.1.1 09-Jan-1997  tls Import from 4.4BSD-Lite2
 1.12 04-Jan-2014  wiz Remove second copy for RCS Id.
 1.11 13-May-2006  liamjfoy branches: 1.11.44; 1.11.50;
reference uptime(1) correctly

ok joerg@
 1.10 09-Sep-2005  wiz Grammar fix.
 1.9 09-Aug-2005  christos Say which daemon produces the data and correct the default of 3 minutes
(Liam Foy)
 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 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.6 19-Oct-1997  lukem WARNSify, deprecate register
 1.5 08-Mar-1997  cgd add rwhod(8) xref
 1.4 09-Jan-1997  tls Sync to 4.4BSD-Lite2
 1.3 16-Sep-1993  jtc Add rup to SEE ALSO section.
Data files are stored in /var/rwho, not /usr/var/rwho.
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
after 0.2.2 "stable" patches applied
 1.1.1.1 09-Jan-1997  tls Import from 4.4BSD-Lite2
 1.11.50.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.11.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.16 19-Sep-2025  mrg fix a couple of "allocate too little" issues GCC 14 pointed out.

both ruptime and inetd allocate a less-than-struct-sized space and
assign it to a struct pointer. neither of them actually use more
than the allocated memory, but this is still dodgy and technically
wrong. just allocate the right size.
 1.15 06-Sep-2011  joerg ANSIfy, static + __dead
 1.14 13-Apr-2009  lukem Fix WARNS=4 issues (-Wcast-qual -Wsign-compare)
 1.13 21-Jul-2008  lukem branches: 1.13.6;
Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.12 12-Sep-2005  christos branches: 1.12.22;
Rewrite a macro in order to eliminate an unused global variable (Liam Foy)
 1.11 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.10 05-Jan-2001  mjl ANSIfy, alphabetize arguments.
 1.9 31-Dec-2000  ad PR 11667: ruptime output is unpretty for uptimes in excess of 99 days. Give
us one more column to play with, and expand the field size by one.
 1.8 19-Dec-1998  christos brace police
 1.7 19-Apr-1998  hubertf Print sane values on uptime >1 year, per PR 5318 by Heiko Rupp
 1.6 19-Oct-1997  lukem WARNSify, deprecate register
 1.5 09-Jan-1997  tls Sync to 4.4BSD-Lite2
 1.4 05-Apr-1994  cgd fix from Alan Coopersmith <alanc@ocf.berkeley.edu> for un-initted variable
 1.3 04-Dec-1993  jtc Use <dirent.h> instead of <sys/dir.h>.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
after 0.2.2 "stable" patches applied
 1.1.1.1 09-Jan-1997  tls Import from 4.4BSD-Lite2
 1.12.22.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.13.6.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