summaryrefslogtreecommitdiff
path: root/usr.bin/rpcinfo
AgeCommit message (Collapse)Author
2024-09-15remove unused variablesJonathan Gray
2024-08-16Add pledge & unveil.Florian Obser
The rpc library needs read access to the rpc database in /etc/rpc. Other than that rpcinfo only uses AF_INET sockets. With -b, rpcinfo(8) uses gethostbyaddr(3) to report hosts that responded, so add "dns" pledge as well. OK bluhm, miod
2024-08-12Get rid of inet_aton.Florian Obser
Input & OK bluhm
2024-08-11whitespace, no binary changeFlorian Obser
2023-03-08Delete obsolete /* ARGSUSED */ lint comments.Philip Guenther
ok miod@ millert@
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
2017-07-21I'm equally upset as Kurt Mosiejczuk, who found irrelevant 22-yearTheo de Raadt
old history in this manual page.
2010-09-01Oracle has re-licensed sunrpc under a three-clause BSD license.Todd C. Miller
Update our sources appropriately. OK deraadt@ jsg@
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2007-05-31convert to new .Dd format;Jason McIntyre
2007-03-26sort options, synopsis, and usage(); from Igor SobradoJason McIntyre
2006-01-20Explicitly include limits.h if we are going to use its contents.Todd C. Miller
2005-09-22-s was using the wrong arg (PF_INET) for protocol instead of IPPROTO_TCP & ↵Theo de Raadt
IPPROTO_UDP for pmap_set()
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-10- section reorderJason McIntyre
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@
2003-02-18copyrights added;Jason McIntyre
these are all Sun Microsystems
2002-11-14use $ or # before commands in examplesTheo de Raadt
2001-11-19kill more registersMike Pechkin
millert@ ok
2001-07-17-Wall cleanup; ok deraadtPeter Valchev
2001-07-07silence a warningTodd C. Miller
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
2000-07-31modernize this source code including: avoiding atoi(), range checking,Theo de Raadt
KNF. while at it, add a rpcinfo -s command for setting ports from userland.
2000-04-15- For consistency, `super-user' -> `superuser' in all cases.Aaron Campbell
- Some punctuation fixes. - Some `id' -> `ID'.
2000-03-10Various cleanups and standardization.Aaron Campbell
1999-06-05- remove trailing white spaceAaron Campbell
- remove arguments from .Os macros - remove arguments from .Nm macros, where appropriate - some more Dq/Sq/Ql insanity - still lots to do in the usr.bin tree... :/
1998-09-27usr.bin/ man page cleanups, n-sAaron Campbell
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-06-29bindresvport if possible; uid 0 check is ridiculous crapTheo de Raadt
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt