Home | History | Annotate | only in /src/usr.bin/rpcinfo
History log of /src/usr.bin/rpcinfo
RevisionDateAuthorComments
 1.17 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.16 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.15 21-Aug-2013  dholland branches: 1.15.26;
passes WARNS=5, don't set it to 4.
 1.14 08-Feb-2011  christos branches: 1.14.4; 1.14.10;
- WARNS ?= 4
- fix memory leaks
- fix error printing
- pass lint
- KNF
- constify
- ansify
 1.13 14-Apr-2009  lukem branches: 1.13.2;
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.12 28-May-2007  tls branches: 1.12.20;
Since Christos cleaned up the use of libc internals here, we can switch
these from USE_SSP to USE_FORT as they should be.
 1.11 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.10 26-May-2007  christos remove the rest of the libc cruft.
 1.9 26-May-2007  christos This does not appear to need rpc_generic.c
 1.8 10-Jan-2005  lukem Only compile in IPv6 support if ${USE_INET6} != "no"

MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
 1.7 18-Sep-2002  lukem makefile delint. use NETBSDSRCDIR as appropriate
 1.6 02-Jun-2000  fvdl Update rpcinfo to handle rpcbind version 3 and 4. Taken from Sun TI-RPC
distribution.
 1.5 09-Jan-1997  tls branches: 1.5.10;
RCS ID police
 1.4 22-Dec-1994  cgd specify man pages the new way.
 1.3 08-Oct-1993  cgd no more librpc
 1.2 30-Jul-1993  mycroft Add RCS identifiers.
 1.1 03-Apr-1993  glass Added rpcinfo(8)
 1.5.10.1 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.12.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.13.2.1 17-Feb-2011  bouyer Sync with HEAD
 1.14.10.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.14.4.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.15.26.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.15 13-May-2012  wiz Full list of changes:
- remove spurious white space;
- punctuation;
- new sentence, new line;
- decapitalization;
- for the non-superuser example command lines, use a consistent
shell prompt character.

From Bug Hunting.
 1.14 08-Apr-2009  joerg branches: 1.14.6;
Add missing .Os, improve column size.
 1.13 25-Feb-2003  wiz branches: 1.13.42;
.Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
 1.12 13-Jan-2002  fair Minor nroff formatting fixes per PR 13800
 1.11 08-Dec-2001  wiz Drop a .Pp.
 1.10 02-Oct-2001  bjh21 Correct broken markup in description of -l.
Correct the second synopsis to match the description and the usage message.
 1.9 02-Oct-2001  bjh21 Add .It for -d and -l as well.
 1.8 02-Oct-2001  bjh21 Small formatting changes: Correctly mark the paragraph on -p with .It, and
don't put excess words in .Ar in one of the examples.
 1.7 04-Apr-2001  wiz netconfig(4) -> (5). Fix option section. Whitespace fixes. Sort SEE ALSO.
 1.6 02-Jun-2000  fvdl branches: 1.6.2;
Update rpcinfo to handle rpcbind version 3 and 4. Taken from Sun TI-RPC
distribution.
 1.5 19-Oct-1997  lukem branches: 1.5.10;
WARNSify, fix .Nm usage, deprecate register, getopt returns -1 not EOF
 1.4 09-Jan-1997  tls RCS ID police
 1.3 01-Aug-1993  mycroft Add RCS indentifiers.
 1.2 10-Jun-1993  jtc convert manpages to -mandoc macros
 1.1 03-Apr-1993  glass Added rpcinfo(8)
 1.5.10.1 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.6.2.1 26-Apr-2001  he Pull up revision 1.7 (requested by wiz):
Correct netconfig(4) -> (5). Fix option section. Whitespace
fixes. Sort SEE ALSO section.
 1.13.42.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.14.6.1 23-May-2012  yamt sync with head.
 1.38 11-Dec-2023  mlelstv Use IANA registerd service name "sunrpc" instead of "rpcbind".
 1.37 24-May-2013  christos branches: 1.37.38;
0 == local
 1.36 08-May-2013  christos Simplify previous: instead of polluting the whole code with extra arguments
and dealing with byteorder, do the whole thing in where we need it.
 1.35 07-May-2013  christos print the port where the server is listening when displaying status.
 1.34 16-Sep-2011  joerg branches: 1.34.2; 1.34.8;
Use __dead
 1.33 24-May-2011  joerg Fix usage() to actually not return
 1.32 10-Feb-2011  christos simplify
 1.31 09-Feb-2011  dholland Fix broken build (hi Christos!)
 1.30 08-Feb-2011  christos - WARNS ?= 4
- fix memory leaks
- fix error printing
- pass lint
- KNF
- constify
- ansify
 1.29 17-Nov-2009  drochner branches: 1.29.2;
ANSIfy, sprinkle "const" in some obvious cases
 1.28 13-Apr-2009  lukem fix -Wshadow issues
 1.27 13-Feb-2008  christos branches: 1.27.12;
PR/38017: Greg A. Woods: rpcinfo -s broke after coverity fixes.
 1.26 24-May-2006  christos branches: 1.26.10;
Coverity CID 2285: in the dump and dumpshort case, don't trash head so that
we can free the memory later.
 1.25 05-Apr-2006  christos branches: 1.25.2;
make sure that netid always points to an allocated string. Pointed out by
enami; thanks.
 1.24 03-Apr-2006  christos Coverity CID 2287: Fix memory leak.
Plus:
- change fprintf -> errx
- remove unneeded casts
- avoid err() shadowing
 1.23 02-Apr-2006  christos Coverity CID 2290: Fix memory leak.
 1.22 02-Jun-2005  lukem Cleanup use of 'host' when running 'rpcinfo -p'.
Appease other -Wuninitialized warnings.
 1.21 01-Nov-2004  dsl branches: 1.21.2;
Add (unsigned char) cast to ctype functions
 1.20 23-Apr-2004  simonb s/the the/the/ (only in sources that aren't regularly imported from
elsewhere).
 1.19 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.18 21-Oct-2003  fvdl Don't assign NULL to a char.
 1.17 29-Apr-2003  agc Pull in <sys/param.h> explicitly.
 1.16 08-Nov-2002  tron Don't include obsolete include file "rpc_com.h" any more.
 1.15 04-Oct-2000  mjl branches: 1.15.2;
getopt(3) returns -1 not EOF.
 1.14 07-Jul-2000  itojun pull rpc/nettype.h in, for some of function prototype. checked by fvdl
 1.13 03-Jun-2000  fvdl Fixup field with a bit.
 1.12 02-Jun-2000  fvdl Update rpcinfo to handle rpcbind version 3 and 4. Taken from Sun TI-RPC
distribution.
 1.11 19-Dec-1998  christos branches: 1.11.8;
revert previous cast.
 1.10 19-Dec-1998  christos a few casts, and char -> unsigned char
 1.9 12-Feb-1998  lukem revert; we can't break the existing ABI and API
 1.8 10-Feb-1998  lukem use %d instead of %ld
 1.7 08-Feb-1998  lukem minor whitespace fixup
 1.6 19-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register, getopt returns -1 not EOF
 1.5 09-Jan-1997  tls RCS ID police
 1.4 21-May-1995  mycroft Use inet_aton(), not inet_addr().
 1.3 01-Aug-1993  mycroft Add RCS identifiers.
 1.2 19-Apr-1993  mycroft Cleanup for GCC 2.
 1.1 03-Apr-1993  glass Added rpcinfo(8)
 1.11.8.1 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.15.2.1 06-Jan-2003  jmc Pull up revisions 1.15-1.16 (requested by fvdl in ticket #1037)
Don't include obsolete include file rpc_com.h any more.
 1.21.2.1 15-Jun-2005  snj Pull up revision 1.22 (requested by lukem in ticket #407):
Cleanup use of 'host' when running 'rpcinfo -p'.
Appease other -Wuninitialized warnings.
 1.25.2.1 19-Jun-2006  chap Sync with head.
 1.26.10.1 23-Mar-2008  matt sync with HEAD
 1.27.12.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.29.2.1 17-Feb-2011  bouyer Sync with HEAD
 1.34.8.1 23-Jun-2013  tls resync from head
 1.34.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.37.38.1 06-Feb-2024  martin Pull up following revision(s) (requested by mlelstv in ticket #584):

usr.bin/rpcinfo/rpcinfo.c: revision 1.38

Use IANA registerd service name "sunrpc" instead of "rpcbind".

RSS XML Feed