summaryrefslogtreecommitdiff
path: root/usr.bin/rup
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."
2016-09-05Drop main() prototype.sevan
2014-10-18src is too big these days to tolerate superfluous apostrophes. It'ssnj
"its", people!
2011-08-30Apply casts to cases where xdrproc_t is expected but is notplunky
strictly passed, for example because the second argument is a different kind of pointer.
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
2007-12-15convert __attribute__s to applicable cdefs.h macrosperry
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.
2005-08-07From Liam Foy:christos
- 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
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-16safer use of reallocitojun
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22365, verified by myself.
2002-09-30New sentence, new line.grant
2001-12-08Use standard headers, punctuation nit.wiz
2001-12-01Whitespace cleanup.wiz
2001-01-16labels (even default:) _must_ be followed by statements! usr.bin/fgen/fgen.lcgd
2000-07-03Substitute the cross reference to portmap(8) with rpcbind(8).enami
2000-06-03Complete ANSIfication.fvdl
2000-06-02USe new RPC interface.fvdl
2000-04-14Don't declare 'extern opt*' getopt variables.simonb
2000-03-08Remove spurious ^L, as per bin/9574 by Thilo Manske.jdolecek
While here, const poison a little.
1999-07-30If printing of a host's time is requested via the -d switch, condensehubertf
output so it doesn't exceed 80 columns. Patch submitted in PR 5933 by Tim Rightnour <root@garbled.net>
1999-03-22More and more .Os cleanups. .Os is defined in the tmac.doc-common file,garbled
so we shouldn't override it with versions in the manpages. Many more to come.
1999-01-10If up for one minute, report "1 min, " not "1 mins,".abs
1998-02-03add includes to fix compiler warningperry
1997-10-19s/bzero/memset, fix .Nm usagelukem
1997-08-24Fix compiler warnings (because new prototypes came into scopedrochner
with latest "rpc.h" changes). It's -Wall ready now.
1997-01-16make rup handle uptimes of more than 1 year per pr-3060perry
1996-09-27RCS id police.thorpej
1996-09-27Correct time display for 12:xx case.thorpej
From Dave Huang <khym@bga.com>, PR #2734.
1994-12-22specify man pages the new way.cgd
1994-02-05clnt_call requires timeval argumentpk
1994-01-11Fix spelling errors.jtc
1993-12-09Implemented sorting options found in Sun's rup.jtc
1993-12-03put -t in the usage linederaadt
1993-11-10more sane output.deraadt
option -t: print remote-host's time
1993-09-23Make sure we use rstat's protocol's values of FSCALE. We were picking upjtc
the FSCALE from sys/param.h which caused all of the load averages from remote machines to be incorrect.
1993-09-16Add cross references to "SEE ALSO" section.jtc
1993-09-16Change Sun-OS to SunOS. Every other instance of in manual our manualjtc
is typeset that way.
1993-08-02Add RCS identifiers, remove some completely useless RCS logs and patchkitmycroft
headers, and a few other insignificant changes.
1993-06-10Line buffer output to work better with more.brezak
1993-06-09Fix calling clnt_sperror()brezak
1993-06-08Fix man page.brezak
1993-06-08Widen host name.brezak
1993-06-08Cleanup man page; convert to mandoc.brezak
1993-06-04No need to link with -lrpcbrezak
1993-06-03Add rup and rusers. Changes to rwallbrezak