History log of /openbsd/usr.bin/rpcinfo/rpcinfo.c (Results 1 – 20 of 20)
Revision Date Author Comments
# f6e4162f 15-Sep-2024 jsg <jsg@openbsd.org>

remove unused variables


# 5b1c6298 16-Aug-2024 florian <florian@openbsd.org>

Add pledge & unveil.

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

Add pledge & unveil.

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

show more ...


# af6a53bb 12-Aug-2024 florian <florian@openbsd.org>

Get rid of inet_aton.

Input & OK bluhm


# 41141cf0 11-Aug-2024 florian <florian@openbsd.org>

whitespace, no binary change


# 5b133f3f 08-Mar-2023 guenther <guenther@openbsd.org>

Delete obsolete /* ARGSUSED */ lint comments.

ok miod@ millert@


# 3aaa63eb 28-Jun-2019 deraadt <deraadt@openbsd.org>

When system calls indicate an error they return -1, not some arbitrary
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if

When system calls indicate an error they return -1, not some arbitrary
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.

show more ...


# cb7760d1 01-Sep-2010 millert <millert@openbsd.org>

Oracle has re-licensed sunrpc under a three-clause BSD license.
Update our sources appropriately. OK deraadt@ jsg@


# 043fbe51 27-Oct-2009 deraadt <deraadt@openbsd.org>

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(th

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
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

show more ...


# ce208e8b 26-Mar-2007 jmc <jmc@openbsd.org>

sort options, synopsis, and usage(); from Igor Sobrado


# 2e8dee25 20-Jan-2006 millert <millert@openbsd.org>

Explicitly include limits.h if we are going to use its contents.


# 693e5edf 22-Sep-2005 deraadt <deraadt@openbsd.org>

-s was using the wrong arg (PF_INET) for protocol instead of IPPROTO_TCP & IPPROTO_UDP for pmap_set()


# 1837a5ca 10-Jun-2003 deraadt <deraadt@openbsd.org>

mostly ansi cleanup; pval ok


# c0932ef1 19-Nov-2001 mpech <mpech@openbsd.org>

kill more registers

millert@ ok


# 0c00f208 17-Jul-2001 pvalchev <pvalchev@openbsd.org>

-Wall cleanup; ok deraadt


# 8b783019 07-Jul-2001 millert <millert@openbsd.org>

silence a warning


# bf33cbfc 31-Jul-2000 deraadt <deraadt@openbsd.org>

modernize this source code including: avoiding atoi(), range checking,
KNF. while at it, add a rpcinfo -s command for setting ports from userland.


# 72799b18 15-Jan-1997 millert <millert@openbsd.org>

getopt(3) returns -1 when out of args, not EOF, whee!


# 1d8b3d4e 29-Jun-1996 deraadt <deraadt@openbsd.org>

bindresvport if possible; uid 0 check is ridiculous crap


# 1258a77d 26-Jun-1996 deraadt <deraadt@openbsd.org>

rcsid


# df930be7 18-Oct-1995 deraadt <deraadt@openbsd.org>

initial import of NetBSD tree