summaryrefslogtreecommitdiff
path: root/usr.bin/rpcinfo
AgeCommit message (Collapse)Author
2023-06-03bsd.own.mk: rename GCC_NO_* to CC_WNO_*lukem
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.
2019-10-13introduce some common variables for use in GCC warning disables:mrg
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."
2013-08-21passes WARNS=5, don't set it to 4.dholland
2013-05-240 == localchristos
2013-05-08Simplify previous: instead of polluting the whole code with extra argumentschristos
and dealing with byteorder, do the whole thing in where we need it.
2013-05-07print the port where the server is listening when displaying status.christos
2012-05-13Full list of changes:wiz
- 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.
2011-09-16Use __deadjoerg
2011-05-24Fix usage() to actually not returnjoerg
2011-02-10simplifychristos
2011-02-09Fix broken build (hi Christos!)dholland
2011-02-08- WARNS ?= 4christos
- fix memory leaks - fix error printing - pass lint - KNF - constify - ansify
2009-11-17ANSIfy, sprinkle "const" in some obvious casesdrochner
2009-04-14Enable WARNS=4 by default for usr.bin, except for:lukem
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
2009-04-13fix -Wshadow issueslukem
2009-04-08Add missing .Os, improve column size.joerg
2008-02-13PR/38017: Greg A. Woods: rpcinfo -s broke after coverity fixes.christos
2007-05-28Since Christos cleaned up the use of libc internals here, we can switchtls
these from USE_SSP to USE_FORT as they should be.
2007-05-28Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on thetls
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.
2007-05-26remove the rest of the libc cruft.christos
2007-05-26This does not appear to need rpc_generic.cchristos
2006-05-24Coverity CID 2285: in the dump and dumpshort case, don't trash head so thatchristos
we can free the memory later.
2006-04-05make sure that netid always points to an allocated string. Pointed out bychristos
enami; thanks.
2006-04-03Coverity CID 2287: Fix memory leak.christos
Plus: - change fprintf -> errx - remove unneeded casts - avoid err() shadowing
2006-04-02Coverity CID 2290: Fix memory leak.christos
2005-06-02Cleanup use of 'host' when running 'rpcinfo -p'.lukem
Appease other -Wuninitialized warnings.
2005-01-10Only compile in IPv6 support if ${USE_INET6} != "no"lukem
MKINET6 is for providing IPv6 infrastructure. USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
2004-11-01Add (unsigned char) cast to ctype functionsdsl
2004-04-23s/the the/the/ (only in sources that aren't regularly imported fromsimonb
elsewhere).
2004-01-05Homogenize usage messages: make the 'usage' word all lowercase, as this seemsjmmv
to be the most common practice in our tree.
2003-10-21Don't assign NULL to a char.fvdl
2003-04-29Pull in <sys/param.h> explicitly.agc
2003-02-25.Nm does not need a dummy argument ("") before punctuation orwiz
for correct formatting of the SYNOPSIS any longer.
2002-11-08Don't include obsolete include file "rpc_com.h" any more.tron
2002-09-18makefile delint. use NETBSDSRCDIR as appropriatelukem
2002-01-13Minor nroff formatting fixes per PR 13800fair
2001-12-08Drop a .Pp.wiz
2001-10-02Correct broken markup in description of -l.bjh21
Correct the second synopsis to match the description and the usage message.
2001-10-02Add .It for -d and -l as well.bjh21
2001-10-02Small formatting changes: Correctly mark the paragraph on -p with .It, andbjh21
don't put excess words in .Ar in one of the examples.
2001-04-04netconfig(4) -> (5). Fix option section. Whitespace fixes. Sort SEE ALSO.wiz
2000-10-04getopt(3) returns -1 not EOF.mjl
2000-07-07pull rpc/nettype.h in, for some of function prototype. checked by fvdlitojun
2000-06-03Fixup field with a bit.fvdl
2000-06-02Update rpcinfo to handle rpcbind version 3 and 4. Taken from Sun TI-RPCfvdl
distribution.
1998-12-19revert previous cast.christos
1998-12-19a few casts, and char -> unsigned charchristos
1998-02-12revert; we can't break the existing ABI and APIlukem
1998-02-10use %d instead of %ldlukem
1998-02-08minor whitespace fixuplukem