Home | History | Annotate | only in /src/usr.bin/rusers
History log of /src/usr.bin/rusers
RevisionDateAuthorComments
 1.13 03-Jun-2023  lukem bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
GCC_NO_warning
to
CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
 1.12 13-Oct-2019  mrg introduce some common variables for use in GCC warning disables:

GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8)

use these to turn off warnings for most GCC-8 complaints. many
of these are false positives, most of the real bugs are already
commited, or are yet to come.


we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."
 1.11 28-May-2007  tls branches: 1.11.76;
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.10 19-Oct-1997  lukem don't define WARNS=1 here
 1.9 24-Aug-1997  lukem * sanitize long output, fixing buffer overflows whilst doing so
* clean up for WARNS?=1
 1.8 09-Jan-1997  tls RCS ID police
 1.7 22-Dec-1994  cgd specify man pages the new way.
 1.6 21-Nov-1993  brezak Use rnusers XDR's in librpcsvc.
 1.5 21-Nov-1993  brezak Cleanup to use hand-crafted version2 xdr's
 1.4 02-Aug-1993  mycroft Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
 1.3 08-Jun-1993  brezak Add man page.
 1.2 04-Jun-1993  brezak No need to link with -lrpc
 1.1 03-Jun-1993  brezak Add rup and rusers. Changes to rwall
 1.11.76.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.15 22-Mar-2012  wiz Fix whitespace nits. Suggested by Bug Hunting.
 1.14 07-Aug-2003  agc branches: 1.14.56;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.13 30-Sep-2002  grant New sentence, new line.
 1.12 08-Dec-2001  wiz Separate xrefs by a comma.
 1.11 04-Apr-2001  wiz Add section to xref.
 1.10 03-Jul-2000  enami Substitute the cross reference to portmap(8) with rpcbind(8).
 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 19-Oct-1997  lukem fix up .Nm usage
 1.7 24-Aug-1997  lukem * sanitize long output, fixing buffer overflows whilst doing so
* clean up for WARNS?=1
 1.6 09-Jan-1997  tls RCS ID police
 1.5 11-Jan-1994  jtc Fix spelling errors.
 1.4 16-Sep-1993  jtc Add cross references to "SEE ALSO" section.
 1.3 16-Sep-1993  jtc Change Sun-OS to SunOS. Every other instance of in manual our manual
is typeset that way.
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 08-Jun-1993  brezak Add man page.
 1.9.10.2 26-Apr-2001  he Pull up revision 1.11 (requested by wiz):
Add section numbers to cross references.
 1.9.10.1 03-Jul-2000  thorpej Pull up rev. 1.10:
Substitute the cross reference to portmap(8) with rpcbind(8).
 1.14.56.1 17-Apr-2012  yamt sync with head
 1.26 03-Feb-2019  mrg - enlarge buffer to avoid snprintf() truncation
 1.25 06-Sep-2011  joerg branches: 1.25.42;
static + __dead
 1.24 30-Aug-2011  plunky Apply casts to cases where xdrproc_t is expected but is not
strictly passed, for example because the second argument is
a different kind of pointer.
 1.23 11-May-2006  mrg call ctime() with an actual time_t *.
 1.22 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.21 19-Feb-2001  cgd convert to use getprogname()
 1.20 16-Jan-2001  cgd labels (even default:) _must_ be followed by statements! usr.bin/fgen/fgen.l
 1.19 03-Jun-2000  fvdl Adapt to TI-RPC, enable IPv6.
 1.18 03-Jun-2000  fvdl Correct last argument to clnt_broadcast.
 1.17 14-Apr-2000  simonb branches: 1.17.2;
Don't declare 'extern opt*' getopt variables.
 1.16 03-Jul-1998  hubertf Get idle time right, per PR 5699 by Urban Boquist <boquist@cs.chalmers.se>
 1.15 02-Apr-1998  kleink Need <time.h> for ctime() prototype. Also, per KNF, don't include both
<sys/param.h> and <sys/types.h>; the latter is sufficient.
 1.14 03-Feb-1998  perry change includes to fix compiler warning
 1.13 24-Aug-1997  lukem * sanitize long output, fixing buffer overflows whilst doing so
* clean up for WARNS?=1
 1.12 09-Jan-1997  tls RCS ID police
 1.11 21-Mar-1996  jtc Be pedantic, main() returns int in C.
 1.10 10-Dec-1993  jtc Must use a struct timeval, not NULL, for the timeout in clnt_call.
 1.9 03-Dec-1993  deraadt fill hostname:tty field in same way as SunOS
 1.8 21-Nov-1993  mycroft Oops. Don't want the name spaced out.
 1.7 21-Nov-1993  mycroft Make sure we don't run off the end of ut_name when printing the short way.
 1.6 21-Nov-1993  brezak Cleanup to use hand-crafted version2 xdr's
 1.5 10-Nov-1993  deraadt de-ansify
format better, now readable in most cases on 80-char wide screens
and it looks pretty.
 1.4 02-Aug-1993  mycroft Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
 1.3 10-Jun-1993  brezak Line buffer output to work better with more.
 1.2 08-Jun-1993  brezak Widen host field and don't truncate host names longer than the field.
Display user idle times as days, hours, minutes, seconds.
 1.1 03-Jun-1993  brezak Add rup and rusers. Changes to rwall
 1.17.2.1 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.25.42.1 10-Jun-2019  christos Sync with HEAD

RSS XML Feed