Home | History | Annotate | only in /src/libexec/rpc.rusersd
History log of /src/libexec/rpc.rusersd
RevisionDateAuthorComments
 1.21 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.20 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.19 28-Feb-2018  snj branches: 1.19.4;
prune disabled XIDLE support. the required X server extension hasn't been
around for a couple decades now. even if someone wanted to modernize this,
it wouldn't be appropriate for NetBSD, since we don't want programs in base
to be linked against X libs.
 1.18 04-Nov-2002  christos PR/18929: Kimmo Suominen: rpc.rusersd ignores utmpx
 1.17 23-Jan-2000  veego Disable the linking with X11 libraries.
No userland should be linked against X11.
 1.16 22-Oct-1997  lukem use CPPFLAGS instead of CFLAGS
 1.15 08-Oct-1997  mrg branches: 1.15.2;
merge lite-2 Makefiles (rcsids), and turn on WARNS for all of libexec.
 1.14 17-Sep-1997  christos Fix WARNS problems. sigsetjmp() was missing an argument.
 1.13 24-Mar-1997  christos - Makefile cleanups
 1.12 30-Aug-1996  thorpej RCS id police.
 1.11 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.10 22-Dec-1994  cgd specify man pages the new way.
 1.9 16-Feb-1994  jtc Look for X11 in various likely places.
From Thomas Eberhardt, who adapted it from similar code in gxditview.
 1.8 28-Jan-1994  cgd don't need -lutil
 1.7 21-Nov-1993  brezak Build rnusers XDR's into librpcsvc and use them.
 1.6 21-Nov-1993  brezak Remove support for vers 1 interface. Add vers 3 interface support. Fix ver 2 support to interoperate with Sun's.
 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 22-Jul-1993  brezak use XIDLE extension (if present)
 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 rpc.rstatd, rpc.rusersd, and rpc.rwalld.
 1.15.2.1 08-Nov-1997  lukem sync with trunk (approved by thorpej)
 1.19.4.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.9 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.8 15-Jan-2002  wiz Whitespace nits, sort SEE ALSO.
 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 20-Oct-1997  enami Fix .Nm usage.
 1.5 30-Aug-1996  thorpej RCS id police.
 1.4 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.3 16-Aug-1993  jtc Touch up manpages.
 1.2 02-Aug-1993  mycroft Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
 1.1 08-Jun-1993  brezak Add man page.
 1.29 01-Mar-2018  snj delete now-irrelevant comment
 1.28 28-Feb-2018  snj prune disabled XIDLE support. the required X server extension hasn't been
around for a couple decades now. even if someone wanted to modernize this,
it wouldn't be appropriate for NetBSD, since we don't want programs in base
to be linked against X libs.
 1.27 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.26 16-Mar-2009  lukem fix WARNS=4 issues.
(arguably usr.bin/who/utmpentry.c::getutentries() could return size_t not int)
 1.25 01-Aug-2005  christos branches: 1.25.28;
Cleanup and make the arrays dynamically resizable. This will help for
only version 3, because version 2 is still artificially limited to MAXUSERS.
 1.24 04-Nov-2002  christos PR/18929: Kimmo Suominen: rpc.rusersd ignores utmpx
 1.23 10-Jan-2001  lukem use LOG_WARNING instead of LOG_ERR for non critical errors
 1.22 03-Jun-2000  fvdl Use TI-RPC interface. ANSIfy.
 1.21 06-Jul-1999  christos branches: 1.21.6;
use syslog instead of fprintf, otherwise no-one will see the error
 1.20 12-Aug-1998  christos fix bugs in getidle() that would cause -1 to be returned as the idle time.
also log when we cannot stat the device to get the idle time.
 1.19 10-Aug-1998  perry bzero->memset, bcopy->memcpy, bcmp->memcmp
 1.18 03-Jul-1998  mrg KNF.
 1.17 01-Apr-1998  kleink Need <time.h> for time() prototype, and rearrange inclusion order a bit.
 1.16 20-Jan-1998  christos PR/4848: Kimmo Suominen: rpc_rusersd tries to open remote host as display
- change LOG_ERR to LOG_DEBUG because xdisplay access fails most
of the time.
- only try the display code if the ut_host field has a :
 1.15 19-Sep-1997  thorpej The "ufp" global wasn't used in any XIDLE code, so don't declare it inside
an #ifdef XIDLE. Instead, declare it as an automatic in each function that
uses it.
 1.14 17-Sep-1997  christos Fix WARNS problems. sigsetjmp() was missing an argument.
 1.13 30-Aug-1996  thorpej RCS id police.
 1.12 14-Dec-1995  thorpej Now that we compile the tree with -Werror, remove an explicit #warning
and replace it with an XXX comment.
 1.11 09-Jul-1995  pk Use `xdrproc_t' to declare xdr_{args,result}. (takes care of PR#1182).
 1.10 24-Jun-1995  pk Make declarations confirm to rpcgen generated prototypes.
 1.9 13-Jan-1995  mycroft General cleanup.
 1.8 23-Dec-1994  cgd be a bit more careful with types, casts, and and function declarations.
 1.7 23-Nov-1993  cgd do the right thing with ifdef, and warn about i386 console hack
 1.6 21-Nov-1993  brezak Remove support for vers 1 interface. Add vers 3 interface support. Fix ver 2 support to interoperate with Sun's.
 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 16-Jul-1993  brezak Look at correct device for X server idle time.
 1.3 11-Jun-1993  brezak Changes for using XIDLE option.
 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.21.6.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.25.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.3 21-Oct-2009  snj Remove 3rd and 4th clauses in christos' license. OK christos.
 1.2 01-Aug-2005  christos Cleanup and make the arrays dynamically resizable. This will help for
only version 3, because version 2 is still artificially limited to MAXUSERS.
 1.1 17-Sep-1997  christos Oops forgot this.
 1.17 15-Dec-2007  perry convert __attribute__s to applicable cdefs.h macros
 1.16 09-May-2006  mrg branches: 1.16.10;
change (mostly) int to socklen_t. GCC 4 doesn't like that int and
socklen_t are different signness.
 1.15 01-Aug-2005  christos Cleanup and make the arrays dynamically resizable. This will help for
only version 3, because version 2 is still artificially limited to MAXUSERS.
 1.14 03-Jun-2000  fvdl Use sockaddr_storage.
 1.13 03-Jun-2000  fvdl Use TI-RPC interface. ANSIfy.
 1.12 31-Jan-1999  mrg branches: 1.12.8;
do not use LOG_CONS.
 1.11 03-Jul-1998  mrg KNF.
 1.10 17-Sep-1997  christos Fix WARNS problems. sigsetjmp() was missing an argument.
 1.9 30-Aug-1996  thorpej RCS id police.
 1.8 13-Jan-1995  mycroft General cleanup.
 1.7 13-Jan-1995  mycroft Correct calling sequence of getsockname(2).
 1.6 11-Jul-1994  mycroft Fix uninitialized variable.
 1.5 21-Nov-1993  brezak branches: 1.5.2;
Remove support for vers 1 interface. Add vers 3 interface support. Fix ver 2 support to interoperate with Sun'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 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.5.2.1 12-Jul-1994  cgd fix uninitted varilable, from trunk.
 1.12.8.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.16.10.1 09-Jan-2008  matt sync with HEAD
 1.2 21-Nov-1993  mycroft Clean up deleted files.
 1.1 21-Nov-1993  brezak Remove support for vers 1 interface. Add vers 3 interface support. Fix ver 2 support to interoperate with Sun's.

RSS XML Feed