Home | History | Annotate | only in /src/usr.bin/rwho
History log of /src/usr.bin/rwho
RevisionDateAuthorComments
 1.5 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.4 06-Sep-2000  mjl Add a setlocale() call and use strftime().
Use err() instead of fprintf + exit.
Check for extraenous arguments and complain.
ANSIfy.
 1.3 09-Jan-1997  tls branches: 1.3.4;
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.3.4.1 01-Mar-2000  he Apply patch (requested by he):
Avoid optimizer bug in egcs for i386, works around PR#8364.
 1.13 01-Oct-2005  wiz Sort option descriptions. Use more macros. New sentence, new line.
Add missing .El.
 1.12 30-Sep-2005  christos Patches from Liam Foy to:

- Use realloc instead of allocating 1000 structures.
- Remove NUSERS nonsense. If this is kept, shouldn't
who(1) comply with it too?
- Be consistent with who(1). Add two identical options
from who(1). These are -q and -H.
- General Cleans:
- Move globals into local scope
- Re-write a macro to remove an uneccessary
variable.
- Use UT_NAMESIZE.
- Remove unecessary header etc.

And from me, KNF, pass lint.
 1.11 12-Sep-2005  wiz According to rwhod(8), file names are actually /var/rwho/whod.*
 1.10 11-Sep-2005  wiz Fix typos in file names. From YOMURA Masanori in private mail.
 1.9 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.8 30-Sep-2002  grant New sentence, new line.
 1.7 04-Apr-2001  wiz add section to xref.
 1.6 22-Mar-1999  garbled branches: 1.6.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.5 19-Oct-1997  lukem WARNSify, fix .Nm usage
 1.4 09-Jan-1997  tls Sync to 4.4BSD-Lite2
 1.3 16-Sep-1993  jtc Add "SEE ALSO" cross references.
rwho was changed so a host is considered "down" if it hasn't sent a
response in 11 minutes (it used to be 5) but the manpage was never
updated.
 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.6.10.1 26-Apr-2001  he Pull up revision 1.7 (requested by wiz):
Add section numbers to cross references.
 1.19 13-Apr-2009  lukem fix -Wsign-compare issue
 1.18 21-Jul-2008  lukem branches: 1.18.6;
Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.17 15-Dec-2007  perry branches: 1.17.6;
convert __attribute__s to applicable cdefs.h macros
 1.16 01-Oct-2005  he branches: 1.16.12;
The nusers variable is actually a size_t, so print with %zd, not %d.
 1.15 30-Sep-2005  christos Patches from Liam Foy to:

- Use realloc instead of allocating 1000 structures.
- Remove NUSERS nonsense. If this is kept, shouldn't
who(1) comply with it too?
- Be consistent with who(1). Add two identical options
from who(1). These are -q and -H.
- General Cleans:
- Move globals into local scope
- Re-write a macro to remove an uneccessary
variable.
- Use UT_NAMESIZE.
- Remove unecessary header etc.

And from me, KNF, pass lint.
 1.14 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.13 06-Sep-2000  mjl Add a setlocale() call and use strftime().
Use err() instead of fprintf + exit.
Check for extraenous arguments and complain.
ANSIfy.
 1.12 20-Sep-1999  tron Use full hostnames when sorting rwho database entries. Fixes PR bin/8401
by John Darrow.
 1.11 19-Dec-1998  christos branches: 1.11.2;
include <fcntl.h> for O_RDONLY, and remove decls of optind and optarg.
 1.10 02-Apr-1998  kleink Need <time.h> for time() and ctime() prototypes.
 1.9 19-Oct-1997  mrg WARNSify
 1.8 19-Oct-1997  lukem WARNSify, fix .Nm usage
 1.7 08-Mar-1997  cgd print out a
rwho: no hosts in /var/rwho.
message like ruptime does, for consistency. (Similarly, exit with exit
code 0, though i'm not sure that's "correct" for either.)
 1.6 09-Jan-1997  tls RCS ID police
 1.5 09-Jan-1997  tls Sync to 4.4BSD-Lite2
 1.4 24-Dec-1994  cgd pull in string.h
 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.11.2.1 09-Oct-1999  cgd pull up rev 1.12 from trunk (requested by tron):
Use full hostnames when sorting rwho database entries. Fixes PR#8401.
 1.16.12.1 09-Jan-2008  matt sync with HEAD
 1.17.6.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.18.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