Home | History | Annotate | only in /src/usr.bin/rup
History log of /src/usr.bin/rup
RevisionDateAuthorComments
 1.10 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.9 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.8 14-Apr-2009  lukem branches: 1.8.46;
Enable WARNS=4 by default for usr.bin, except for:
awk bdes checknr compile_et error gss hxtool kgetcred kinit
klist ldd less lex locale login m4 man menuc mk_cmds
mklocale msgc openssl rpcgen rpcinfo sdiff spell ssh
string2key telnet tn3270 verify_krb5_conf xlint
 1.7 28-May-2007  tls branches: 1.7.20;
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.6 07-Aug-2005  christos From Liam Foy:
- Print uptime in secs if uptime is less than 1 minute
- If at least one call to onehost() fails, return one (allows for external error detection)
- Avoid leaks, use clnt_destroy (from OpenBSD)
- err(3) cleans
From me:
- lint cleanups
- more KNF
 1.5 27-Sep-1996  thorpej RCS id police.
 1.4 22-Dec-1994  cgd specify man pages the new way.
 1.3 02-Aug-1993  mycroft Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
 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.7.20.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
 1.8.46.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.18 18-Oct-2014  snj src is too big these days to tolerate superfluous apostrophes. It's
"its", people!
 1.17 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.16 30-Sep-2002  grant New sentence, new line.
 1.15 08-Dec-2001  wiz Use standard headers, punctuation nit.
 1.14 01-Dec-2001  wiz Whitespace cleanup.
 1.13 03-Jul-2000  enami Substitute the cross reference to portmap(8) with rpcbind(8).
 1.12 22-Mar-1999  garbled branches: 1.12.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.11 19-Oct-1997  lukem s/bzero/memset, fix .Nm usage
 1.10 27-Sep-1996  thorpej RCS id police.
 1.9 11-Jan-1994  jtc Fix spelling errors.
 1.8 09-Dec-1993  jtc Implemented sorting options found in Sun's rup.
 1.7 10-Nov-1993  deraadt more sane output.
option -t: print remote-host's time
 1.6 16-Sep-1993  jtc Add cross references to "SEE ALSO" section.
 1.5 16-Sep-1993  jtc Change Sun-OS to SunOS. Every other instance of in manual our manual
is typeset that way.
 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 Fix man page.
 1.2 08-Jun-1993  brezak Cleanup man page; convert to mandoc.
 1.1 03-Jun-1993  brezak Add rup and rusers. Changes to rwall
 1.12.10.1 03-Jul-2000  thorpej Pull up rev 1.13:
Substitute the cross reference to portmap(8) with rpcbind(8).
 1.29 05-Sep-2016  sevan Drop main() prototype.
 1.28 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.27 15-Dec-2007  perry convert __attribute__s to applicable cdefs.h macros
 1.26 07-Aug-2005  christos branches: 1.26.12;
From Liam Foy:
- Print uptime in secs if uptime is less than 1 minute
- If at least one call to onehost() fails, return one (allows for external error detection)
- Avoid leaks, use clnt_destroy (from OpenBSD)
- err(3) cleans
From me:
- lint cleanups
- more KNF
 1.25 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.24 16-Oct-2003  itojun safer use of realloc
 1.23 16-Jan-2001  cgd labels (even default:) _must_ be followed by statements! usr.bin/fgen/fgen.l
 1.22 03-Jun-2000  fvdl Complete ANSIfication.
 1.21 02-Jun-2000  fvdl USe new RPC interface.
 1.20 14-Apr-2000  simonb branches: 1.20.2;
Don't declare 'extern opt*' getopt variables.
 1.19 08-Mar-2000  jdolecek Remove spurious ^L, as per bin/9574 by Thilo Manske.
While here, const poison a little.
 1.18 30-Jul-1999  hubertf If printing of a host's time is requested via the -d switch, condense
output so it doesn't exceed 80 columns.

Patch submitted in PR 5933 by Tim Rightnour <root@garbled.net>
 1.17 10-Jan-1999  abs If up for one minute, report "1 min, " not "1 mins,".
 1.16 03-Feb-1998  perry add includes to fix compiler warning
 1.15 19-Oct-1997  lukem s/bzero/memset, fix .Nm usage
 1.14 24-Aug-1997  drochner Fix compiler warnings (because new prototypes came into scope
with latest "rpc.h" changes). It's -Wall ready now.
 1.13 16-Jan-1997  perry make rup handle uptimes of more than 1 year per pr-3060
 1.12 27-Sep-1996  thorpej RCS id police.
 1.11 27-Sep-1996  thorpej Correct time display for 12:xx case.
From Dave Huang <khym@bga.com>, PR #2734.
 1.10 05-Feb-1994  pk clnt_call requires timeval argument
 1.9 09-Dec-1993  jtc Implemented sorting options found in Sun's rup.
 1.8 03-Dec-1993  deraadt put -t in the usage line
 1.7 10-Nov-1993  deraadt more sane output.
option -t: print remote-host's time
 1.6 23-Sep-1993  jtc Make sure we use rstat's protocol's values of FSCALE. We were picking up
the FSCALE from sys/param.h which caused all of the load averages from
remote machines to be incorrect.
 1.5 02-Aug-1993  mycroft Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
 1.4 10-Jun-1993  brezak Line buffer output to work better with more.
 1.3 09-Jun-1993  brezak Fix calling clnt_sperror()
 1.2 08-Jun-1993  brezak Widen host name.
 1.1 03-Jun-1993  brezak Add rup and rusers. Changes to rwall
 1.20.2.1 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.26.12.1 09-Jan-2008  matt sync with HEAD

RSS XML Feed