Home | History | Annotate | only in /src/libexec/rpc.rstatd
History log of /src/libexec/rpc.rstatd
RevisionDateAuthorComments
 1.24 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.23 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.22 23-Jan-2016  christos branches: 1.22.16;
Define _KERNTYPES for things that need it.
 1.21 02-Jun-2014  joerg Remove remaining kvm glue.
 1.20 14-Apr-2006  blymn branches: 1.20.48; 1.20.60;
New io statistics
 1.19 18-Sep-2002  lukem use bsd.own.mk instead of the (obvious typo of) bsd.obj.mk
 1.18 19-Aug-2002  lukem Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path
 1.17 12-Sep-1999  chs the PMAP_NEW option is gone as the new interface is no longer optional.
 1.16 24-Mar-1999  mrg completely remove Mach VM support. all that is left is the all the
header files as UVM still uses (most of) these.
 1.15 18-Feb-1998  perry add -DPMAP_NEW if PMAP_NEW is on in mk.conf
 1.14 09-Feb-1998  mrg add -DUVM to CPPFLAGS if defined(UVM)
 1.13 22-Oct-1997  lukem use CPPFLAGS instead of CFLAGS
 1.12 08-Oct-1997  mrg branches: 1.12.2;
merge lite-2 Makefiles (rcsids), and turn on WARNS for all of libexec.
 1.11 07-Oct-1997  mrg WARNS?=1. RCS ids.
 1.10 22-Feb-1997  thorpej Fix reporting of disk statistics that's been broken since new disk
framework went in. From Jarle Greipsland <jarle@runit.sintef.no>, PR #3200.
 1.9 30-Aug-1996  thorpej RCS id police.
 1.8 12-Apr-1995  jtc Install manpage as foo(8) as well as rpc.foo(8), a convenient shorthand.
Also make sure that foo and rpc.foo are mentioned in the NAME section.
 1.7 22-Dec-1994  cgd specify man pages the new way.
 1.6 28-Jan-1994  cgd no longer need lib hackery
 1.5 28-Jan-1994  cgd hack to make getloadavg() link properly
 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 Updated man page.
 1.2 04-Jun-1993  brezak No need to link with -lrpc
 1.1 03-Jun-1993  brezak Add rpc.rstatd, rpc.rusersd, and rpc.rwalld.
 1.12.2.1 08-Nov-1997  lukem sync with trunk (approved by thorpej)
 1.20.60.1 10-Aug-2014  tls Rebase.
 1.20.48.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.22.16.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.13 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22284, verified by myself.
 1.12 29-Sep-2002  wiz Begin new sentences on new lines.
Patch from Robert Elz (kre at munnari oz au).
 1.11 15-Jan-2002  wiz Whitespace nits.
 1.10 25-Mar-1999  bgrayson Added description of argv[1] value interval (rpc.rstatd doesn\'t use getopt)
 1.9 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.8 20-Oct-1997  enami Fix .Nm usage.
 1.7 30-Aug-1996  thorpej RCS id police.
 1.6 12-Apr-1995  jtc Install manpage as foo(8) as well as rpc.foo(8), a convenient shorthand.
Also make sure that foo and rpc.foo are mentioned in the NAME section.
 1.5 16-Aug-1993  mycroft Add missing space after path name.
 1.4 16-Aug-1993  jtc Touch up manpages.
 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 08-Jun-1993  brezak Updated man page.
 1.1 03-Jun-1993  brezak Add rpc.rstatd, rpc.rusersd, and rpc.rwalld.
 1.53 30-Oct-2018  kre sysctl(KERN_BOOTTIME) is a struct timespec, not struct timeval
and has eben since 2009. Adapt.

NFCI - while the tv_usec (now tv_nsec) field is used, we will
keep its uses to microsecond precision to avoid any compat issues.
 1.52 26-Jun-2014  dholland branches: 1.52.22; 1.52.24;
put the sccsids back here too
 1.51 06-Jun-2014  christos Although the kernel handles non-NUL terminated interface names, it is better
to avoid this, and all other places that create ifdr_name use strlcpy anyway
so make it conform.
 1.50 02-Jun-2014  joerg Remove remaining kvm glue.
 1.49 02-Jun-2014  joerg Remove majority of KVM usage.
 1.48 02-Jun-2014  joerg Remove !BSD and lint branches.
 1.47 19-Jun-2012  dholland branches: 1.47.2; 1.47.8;
Pass WARNS=5
 1.46 16-Sep-2011  plunky branches: 1.46.2;
NULL does not need a cast, here
 1.45 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.44 16-Mar-2009  lukem WARNS=4
 1.43 14-Apr-2006  blymn branches: 1.43.28;
New io statistics
 1.42 11-Jun-2003  drochner no need to #include <sys/dkstat.h>
 1.41 09-Mar-2003  hannken Dont call gettimeofday on a rpc timeval.
This fails on sparc64 because rpc timeval elements are int
and timeval elements are long.
 1.40 02-Nov-2002  mrg update to new dkstats.c interface; no changes to how this program works.
pointed out by uwe@ in private email.
 1.39 28-Jan-2002  augustss Make it compile again (vmstat change fallout).
 1.38 01-Dec-2000  simonb Remove extern variables and functions now declared in dkstats.h.
 1.37 30-Nov-2000  simonb ANSIfy.
 1.36 29-Nov-2000  simonb Use the vm.uvmexp2 sysctl.
 1.35 29-Jun-2000  mrg remove include of <vm/vm.h>
 1.34 04-Jun-2000  perry include sys/sched.h to get definition of CPUSTATES
 1.33 03-Jun-2000  fvdl ANSIfy function prototypes and definitions.
 1.32 03-Jun-2000  fvdl Oops, remove debugging printf.
 1.31 02-Jun-2000  fvdl Adapt for new RPC interface.
 1.30 29-May-2000  simonb The cp_time array has had 5 members since 1994 - show them all in debug
output.
 1.29 25-Mar-1999  bgrayson branches: 1.29.8;
Avoid an open-file leak when not inetd-spawned: only call kvm_openfiles() once
 1.28 24-Mar-1999  mrg completely remove Mach VM support. all that is left is the all the
header files as UVM still uses (most of) these.
 1.27 11-Jan-1999  kleink In userland, pull in <errno.h> instead of <sys/errno.h> for the declaration
of errno.
 1.26 10-Aug-1998  perry bzero->memset, bcopy->memcpy, bcmp->memcmp
 1.25 19-Jul-1998  drochner adapt to changed dkinit() in ../../usr.bin/vmstat/dkstats.c
 1.24 30-Mar-1998  mrg use static int, not just static
 1.23 12-Feb-1998  mrg use sysctl for "kern.boottime" over kvm_read
 1.22 11-Feb-1998  bad Make this compile with -DUVM.
 1.21 07-Feb-1998  mrg make this work in the -DUVM case.
 1.20 07-Oct-1997  mrg WARNS?=1. RCS ids.
 1.19 19-Jul-1997  fvdl Make sure that the last fields in the transmitted stat structs are set
correctly. PR 809, from Jarle Greipsland
 1.18 22-Feb-1997  thorpej Fix reporting of disk statistics that's been broken since new disk
framework went in. From Jarle Greipsland <jarle@runit.sintef.no>, PR #3200.
 1.17 01-Oct-1996  cgd disable use of dk_xfer since it's no longer in the kernel. eventually,
this should be updated to use the new disk statistics structures, but it
would be good if there were an efficient way to get them from the kernel
before that's done. Also, while here, terminate nlist struct array with
an entry with a NULL name, not the name "".
 1.16 30-Aug-1996  thorpej RCS id police.
 1.15 10-Mar-1996  ragge Removed a couple of "ifdef vax" that caused rstatd not to work.
 1.14 09-Jul-1995  pk Use `xdrproc_t' to declare xdr_{args,result}. (takes care of PR#1182).
 1.13 24-Jun-1995  pk Conform to rpcgen generated prototypes.
 1.12 19-Jun-1995  cgd update for new network queues
 1.11 13-Jan-1995  mycroft Fix error messages.
 1.10 23-Dec-1994  cgd be a bit more careful with types, casts, and and function declarations.
 1.9 25-May-1994  pk Use new kvm interface (fixes bug 253)
Also, use the crummy protocol's idea of CPU times.
 1.8 14-May-1994  cgd more #undefs to get it to compile! perverted
 1.7 15-Apr-1994  cgd sum -> cnt
 1.6 01-Apr-1994  cgd long cast
 1.5 07-Dec-1993  mycroft Eliminate a compiler warning.
 1.4 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 our load averages to be sent
incorrectly to remote machines.
 1.3 01-Aug-1993  mycroft Add RCS identifiers.
 1.2 09-Jun-1993  brezak Fix number of args to svcerr_progvers()
 1.1 03-Jun-1993  brezak Add rpc.rstatd, rpc.rusersd, and rpc.rwalld.
 1.29.8.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.43.28.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.46.2.1 30-Oct-2012  yamt sync with head
 1.47.8.1 10-Aug-2014  tls Rebase.
 1.47.2.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.52.24.1 10-Jun-2019  christos Sync with HEAD
 1.52.22.1 26-Nov-2018  pgoyette Sync with HEAD, resolve a couple of conflicts
 1.15 29-Aug-2011  joerg Use __dead
 1.14 09-May-2006  mrg change (mostly) int to socklen_t. GCC 4 doesn't like that int and
socklen_t are different signness.
 1.13 03-Jun-2000  fvdl Use sockaddr_storage in from_inetd check (call to getsockname()).
 1.12 03-Jun-2000  fvdl ANSIfy function prototypes and definitions.
 1.11 03-Jun-2000  fvdl Use rpcb_unset, not pmap_unset.
 1.10 02-Jun-2000  fvdl Adapt for new RPC interface.
 1.9 31-Jan-1999  mrg branches: 1.9.8;
do not use LOG_CONS.
 1.8 07-Oct-1997  mrg WARNS?=1. RCS ids.
 1.7 30-Aug-1996  thorpej RCS id police.
 1.6 13-Jan-1995  mycroft Correct calling sequence of getsockname(2).
 1.5 22-Feb-1994  pk Don't use someone else's name when logging
 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 Add LOG_CONS when openlog().
 1.2 04-Jun-1993  brezak Only cleanup registrations if not started by inetd.
 1.1 03-Jun-1993  brezak Add rpc.rstatd, rpc.rusersd, and rpc.rwalld.
 1.9.8.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.

RSS XML Feed