freebsd-skq/usr.sbin
Ryan Stone 9745de4c2c When mountd is creating sockets, it iterates over all addresses specified
in the "hosts" array and eventually looks up the network address with
getaddrinfo(). At one point it checks for a numeric address and if it
sees one, it sets a hint parameter to force getaddrinfo to interpret the
host as a numeric address. However that hint is not cleared for subsequent
iterations of the loop and if any hosts seen after this point are host names,
getaddrinfo will fail on the name.  The result of this bug is that you cannot
pass a host name to the -h flag.

Unfortunately, the first iteration will either process ::1 or 127.0.0.1,
so the flag is set on the first iteration and all host names will fail
to be processed.

The same bug applies to rpc.lockd and rpc.statd, so fix them too.

Differential Revision:	https://reviews.freebsd.org/D1507
Reported by:	Dylan Martin
MFC after:	1 week
Sponsored by:	Sandvine Inc.
2015-01-19 00:33:32 +00:00
..
ac
accton
acpi Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
adduser use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
amd Remove GNU texinfo from base along with all info pages. 2015-01-02 18:45:03 +00:00
ancontrol Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
apm use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
apmd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
arp Speed up the lookup of interfaces when there are a large number 2014-04-05 22:13:32 +00:00
asf Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
audit Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
auditd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
auditdistd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
auditreduce Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
authpf Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
autofs Improve documentation for autofs variables and executable maps; 2015-01-09 10:59:49 +00:00
bhyve Simplify instruction restart logic in bhyve. 2015-01-18 03:08:30 +00:00
bhyvectl Simplify instruction restart logic in bhyve. 2015-01-18 03:08:30 +00:00
bhyveload Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
binmiscctl Move the explanation for examples before the example itself. Add 2014-12-30 20:20:18 +00:00
bluetooth mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
boot0cfg Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
boot98cfg Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
bootparamd use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
bsdconfig Default bsdconfig timezone' and tzsetup' to `-s' in a VM. 2014-11-11 19:37:17 +00:00
bsdinstall Fix bsdinstall when working with geli boot disks 2015-01-18 18:25:12 +00:00
bsnmpd mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
btxld Revert r267233 for now. PIE support needs to be reworked. 2014-08-19 15:04:32 +00:00
cdcontrol Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
chkgrp Clean up, reindent, add a special case for NIS / LDAP line 2014-12-14 16:17:48 +00:00
chown chown: Fix chown test number 2014-07-17 06:57:26 +00:00
chroot
ckdist Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
clear_locks Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
config Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
cpucontrol Restore the ABI of the cpuctl(4) ioctl request CPUCTL_CPUID, use 2014-06-20 13:13:38 +00:00
crashinfo Do not truncate the `command'' column in `ps'' output. 2013-12-25 15:23:01 +00:00
cron Readd Makefile.inc that were used to include upper level Makefile.inc and 2014-11-28 22:03:35 +00:00
crunch crunchide: Correct 64-bit section header offset 2015-01-16 18:59:15 +00:00
ctladm Report initiator id in portlist XML in more formalized way. 2014-12-20 16:39:56 +00:00
ctld Slightly polish iSCSI parameters negotiation. 2014-12-19 01:12:22 +00:00
ctm Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
daemon Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
dconschat Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
devinfo Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
digictl
diskinfo Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
dumpcis use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
editmap Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
edquota Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
eeprom use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
etcupdate Rework the EXAMPLES section to be a bit clearer. 2014-10-29 18:01:09 +00:00
extattr
extattrctl
fdcontrol
fdformat
fdread - Cleanups pc98 code. 2014-09-28 11:32:46 +00:00
fdwrite use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
fifolog Readd Makefile.inc that were used to include upper level Makefile.inc and 2014-11-28 22:03:35 +00:00
flowctl Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
freebsd-update Use "RCS tag" instead of "$FreeBSD$ tag", since svn will obediently 2014-12-22 23:03:18 +00:00
fstyp Improve wording. 2015-01-14 11:26:03 +00:00
ftp-proxy Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
fwcontrol use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
getfmac
getpmac
gpioctl Free the buffer returned by gpio_pin_list() after the use. 2014-12-31 21:58:03 +00:00
gssd mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
gstat Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
hyperv Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft, 2014-09-13 02:15:31 +00:00
i2c Fix a few cases of use of uninitialized variables. Found with -Wall. 2014-11-12 03:59:26 +00:00
ifmcstat Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
inetd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
iostat Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
ip6addrctl
ipfwpcap Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
iscsid Slightly polish iSCSI parameters negotiation. 2014-12-19 01:12:22 +00:00
jail mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
jexec Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
jls Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
kbdcontrol mdoc: remove EOL whitespace. 2014-12-29 13:50:59 +00:00
kbdmap More man pages that need to know about vt in addition to syscons. 2014-08-26 10:55:08 +00:00
keyserv Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
kgmon Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
kgzip use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
kldxref Reserve and ignore the a new module metadata type MDT_PNP_INFO for 2015-01-15 00:46:30 +00:00
lastlogin
lmcconfig Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
lpr Adjust printf format specifiers for dev_t and ino_t in user space. 2014-12-17 07:10:48 +00:00
lptcontrol
mailstats Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
mailwrapper Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
makefs Fix a typo in the FFS maxbpg option, it was erroneously spelled maxbpf. 2015-01-12 19:26:31 +00:00
makemap Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
manctl
memcontrol
mergemaster Remove ia64. 2014-07-07 00:27:09 +00:00
mfiutil Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
mixer use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
mld6query
mlxcontrol use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
mount_smbfs Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
mountd When mountd is creating sockets, it iterates over all addresses specified 2015-01-19 00:33:32 +00:00
moused Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
mptable use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
mptutil Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
mtest Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
mtree Add a ${CP} alias for copying files in the build. 2015-01-16 21:39:08 +00:00
nandsim mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
nandtool Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
ndiscvt Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
ndp Fix "ndp -d hostname". 2014-07-18 06:48:02 +00:00
newsyslog If we fail to send a signal after rotation, print the pidfile from which 2014-10-08 17:44:30 +00:00
nfscbd
nfsd Fix markup for minthreads and maxthreads. 2015-01-01 06:53:33 +00:00
nfsdumpstate
nfsrevoke
nfsuserd mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
ngctl Plug mutex leak. 2015-01-16 18:51:26 +00:00
nghook Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
nmtree Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
nologin
nscd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
ntp Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
nvram use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
ofwdump Instead of iterating through all properties looking for a match, if asked 2015-01-16 18:42:49 +00:00
pc-sysinstall use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
pciconf Fix some buglets in the error-handling of getdevice(). In particular, report 2014-10-22 23:35:56 +00:00
periodic use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
pkg Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
pmcannotate use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
pmccontrol Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
pmcstat Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
pmcstudy Update the hwpmc driver to have the new type HASWELL_XEON. Also 2015-01-14 12:46:58 +00:00
pnpinfo
portsnap Add a manual page for phttpget(8). 2015-01-02 21:02:41 +00:00
powerd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
ppp Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
pppctl Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
praliases Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
praudit Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
procctl
pstat Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
pw Add tests for pw -N 2014-12-16 14:50:33 +00:00
pwd_mkdb Add -p to the example (why isn't this the default?) 2014-02-06 09:57:27 +00:00
quot
quotaon Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rarpd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
repquota Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rip6query
rmt
route6d Recover sin6_scope_id of gateway addresses in riprecv() by using the if_index 2014-08-20 17:27:15 +00:00
rpc.lockd When mountd is creating sockets, it iterates over all addresses specified 2015-01-19 00:33:32 +00:00
rpc.statd When mountd is creating sockets, it iterates over all addresses specified 2015-01-19 00:33:32 +00:00
rpc.umntall mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
rpc.yppasswdd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rpc.ypupdated Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rpc.ypxfrd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rpcbind Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rrenumd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rtadvctl mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
rtadvd mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
rtprio use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
rtsold Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rwhod Don't accidently skip every second line when calculating the 2014-06-28 15:53:28 +00:00
sa use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
sendmail Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
service Revert previous revision (r268461) for reasons documented in PR. 2014-07-16 19:02:30 +00:00
services_mkdb Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
setfib Tweak wording. 2013-09-07 20:25:22 +00:00
setfmac
setpmac
sicontrol use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
smbmsg Fix typo (by -> be). 2014-09-01 16:12:29 +00:00
snapinfo Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
spkrtest
spray Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
syslogd Increase the buffer size to keep the list of programm names when 2014-12-12 11:29:54 +00:00
sysrc Add EXAMPLES-section entry for new key+=append syntax of sysrc(8). 2014-11-05 01:24:44 +00:00
tcpdchk Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
tcpdmatch Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
tcpdrop use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
tcpdump MFV r276761: tcpdump 4.6.2. 2015-01-07 19:55:18 +00:00
tests Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout. 2014-03-16 04:09:22 +00:00
timed Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
traceroute Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
traceroute6 Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
trpt Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
tzsetup Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
uathload
ugidfw Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
uhsoctl Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
unbound Enable remote control using a local socket in the default configuration. 2015-01-05 15:09:00 +00:00
usbconfig Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
usbdump use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
utx use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
vidcontrol vt(4): Add PIO_VFONT_DEFAULT ioctl to restore the default builtin font 2014-10-23 12:38:05 +00:00
vigr Add a vigr(8) utility which does for /etc/group what vipw(8) does for 2014-12-14 16:40:46 +00:00
vipw Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
wake use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
watch Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
watchdogd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
wlandebug Fix a typo to catch correct condition. 2014-08-25 05:52:05 +00:00
wlconfig
wpa Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
yp_mkdb use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
ypbind use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
yppoll
yppush use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
ypserv Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
ypset Use INADDR_NONE instead of -1 to check inet_addr() result. 2013-10-15 07:37:30 +00:00
zic
zzz Use Mt macro to properly format mailto links 2014-06-19 13:18:23 +00:00
Makefile Update the hwpmc driver to have the new type HASWELL_XEON. Also 2015-01-14 12:46:58 +00:00
Makefile.amd64 Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft, 2014-09-13 02:15:31 +00:00
Makefile.arm
Makefile.i386 Disable hyperv on pc98. 2014-10-18 08:07:17 +00:00
Makefile.inc
Makefile.mips
Makefile.powerpc - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00
Makefile.sparc64 - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00