freebsd-nq/sbin
Brooks Davis f954ec0bcf Introduce a new helper function check_search() derived for res_hnok to
check the domain-name parameter according to the rules for "search"
strings as documented in resolv.conf(5).  Specifically, the string must
be no more than 256 bytes long and contain no more than six valid domain
names separated by white space.

The previous unchecked values could result in a mangled resolv.conf
file which could effectively deny access to local sites.  This is not
a security issue as rogue dhcp servers could already do this without
sending invalid strings.

Reviewed by:	cperciva
MFC After:	3 days
2005-08-30 18:20:46 +00:00
..
adjkerntz Expand *n't contractions. 2005-02-13 22:25:33 +00:00
atacontrol Clarify how the 'channel' argument should look like and add an 2005-08-16 21:14:25 +00:00
atm Use the C99 syntax for designated initialisers. 2005-08-05 07:33:50 +00:00
badsect Expand *n't contractions. 2005-02-13 22:25:33 +00:00
bsdlabel Attempt to improve the logic for automatically sizing partitions 2005-08-14 22:46:50 +00:00
camcontrol Markup fixes. 2005-06-14 11:24:56 +00:00
ccdconfig Remove reference to raid(4), the RAIDframe manual page, which was 2005-08-20 09:10:31 +00:00
clri Give variable an initial value. Use errx() instead of fprintf(). 2005-05-29 16:07:10 +00:00
comcontrol Sort sections. 2005-01-18 10:09:38 +00:00
conscontrol Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
devd * Open permissions on /var/run/devd.pipe so that any user can read devd events 2005-07-13 17:28:11 +00:00
devfs Markup fixes. 2005-06-14 11:24:56 +00:00
dhclient Introduce a new helper function check_search() derived for res_hnok to 2005-08-30 18:20:46 +00:00
dmesg WARNS=6 cleanup: 2005-01-17 13:56:46 +00:00
dump Correct the description of the TAPE environment variable. 2005-07-31 13:56:19 +00:00
dumpfs Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
dumpon Sort sections. 2005-01-18 10:09:38 +00:00
fdisk Attempt gctl verb "write MBR" when updating. 2005-07-15 08:02:51 +00:00
fdisk_pc98 Merged from src/sbin/fdisk. 2005-07-15 15:31:19 +00:00
ffsinfo Grammatical improvement. 2005-04-08 10:32:22 +00:00
fsck Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
fsck_ffs Make background fsck based summary adjustments actually work by 2005-03-07 08:42:49 +00:00
fsck_msdosfs Prefer the __printflike() macro to GCC's __attribute__ stuff. 2005-03-09 10:10:51 +00:00
fsdb The libedit update made a const cast necessary. 2005-08-07 20:53:33 +00:00
fsirand Avoid casts as lvalues. 2004-07-28 05:59:22 +00:00
gbde gbde(8) is also rejndael user. 2005-03-11 22:07:04 +00:00
geom As with NO_CRYPT, don't try to compile geli(8) when NO_OPENSSL is defined 2005-08-27 20:51:12 +00:00
ggate Update manual page after ggate rewrite. 2005-07-29 11:22:13 +00:00
gpt This script was helpful during development, but has no reason to 2005-08-30 06:20:20 +00:00
growfs Don't define FS_DEBUG by default, as this causes growfs to write debugging 2005-03-31 04:10:31 +00:00
gvinum Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
idmapd Remove dead code. 2005-04-14 20:27:30 +00:00
ifconfig Document two missed if_bridge commands 'addr' and 'static'. 2005-08-14 03:28:08 +00:00
init Sort sections. 2005-01-18 10:09:38 +00:00
ip6fw Expand *n't contractions. 2005-02-13 22:25:33 +00:00
ipf Fix the contents of the underneath .depend files and "make checkdpadd". 2005-05-17 14:29:06 +00:00
ipfw * Add dynamic sysctl for net.inet6.ip6.fw. 2005-08-13 11:02:34 +00:00
kldconfig Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
kldload Make it clear that the .ko extention of a module to be loaded 2005-08-27 22:25:51 +00:00
kldstat Synchronize program's usage() with manpage's SYNOPSIS. 2005-05-21 07:08:32 +00:00
kldunload - Correctly spell MOD_QUIESCE 2005-02-09 22:06:16 +00:00
ldconfig Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
mca Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
md5 Belatedly update the md5(1) man page to reflect the addition of sha256. 2005-03-10 09:56:39 +00:00
mdconfig When using files as backing stores for devices, and the user has requested the 2005-08-30 16:45:32 +00:00
mdmfs Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
mknod Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
mksnap_ffs Make sure we don't pass garbage to the kernel. 2004-12-08 11:54:50 +00:00
mount Remove Xref to mount_hpfs(8), it's not hooked up to the build. 2005-06-16 21:35:33 +00:00
mount_autofs spell "file system" correctly 2005-01-24 20:06:16 +00:00
mount_cd9660 Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_ext2fs Garbage collect useless variables. 2005-08-05 07:39:39 +00:00
mount_hpfs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_msdosfs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_nfs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_nfs4 Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_ntfs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_nullfs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_reiserfs Tidy up the markup. 2005-06-24 10:57:53 +00:00
mount_std Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_udf Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_ufs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_umapfs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_unionfs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
natd WARNS=6 and gcc4 cleanup: 2005-05-02 10:13:38 +00:00
newfs Don't treat failure to find the operator GID as a fatal error; this 2005-08-14 17:07:04 +00:00
newfs_msdos Expand *n't contractions. 2005-02-13 22:25:33 +00:00
nfsiod When accessing the sysctl vfs.nfs.iodmax, don't report errors as being 2005-04-07 20:37:04 +00:00
nos-tun Expand *n't contractions. 2005-02-13 22:25:33 +00:00
pfctl Adapt Makefiles for pfctl(8) and authpf(8) to 3.7 sources. 2005-05-03 16:57:38 +00:00
pflogd Fixed misspelling of DPADD. 2004-10-24 14:25:53 +00:00
ping Implement a new feature for ping(8) - sweeping pings. In a sweeping 2005-08-15 14:15:37 +00:00
ping6 Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
quotacheck Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
rcorder Deal with harmful leading whitespace. 2004-07-02 18:37:52 +00:00
reboot Add the ability to specify the boot2 serial console speed in 2005-08-18 00:42:45 +00:00
recoverdisk Extend utility to allow recovering single file from the deffective 2005-08-29 23:08:01 +00:00
restore Interpret correctly the glob(3) return value. 2005-07-21 16:12:35 +00:00
route - do DNS lookup for symbolic names specified for a destination 2005-05-23 14:12:32 +00:00
routed Use socklen_t where appropriate. 2005-08-05 09:58:49 +00:00
rtsol Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
savecore Don't bump bounds every time savecore(8) is run. 2005-06-20 20:01:29 +00:00
sconfig Fix typos. 2004-12-30 01:48:12 +00:00
setkey Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
shutdown Use new style declarations instead of K&R ones. 2005-01-25 08:40:51 +00:00
slattach Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
spppcontrol Expand contractions. 2005-02-13 23:45:54 +00:00
startslip - Remove MLINKS to nonexistant manpages 2005-07-14 20:29:08 +00:00
sunlabel Fix grammar error caused by my previous edit. 2005-03-30 18:54:41 +00:00
swapon Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
sysctl - Remove MLINKS to nonexistant manpages 2005-07-14 20:29:08 +00:00
tunefs Expand *n't contractions. 2005-02-13 22:25:33 +00:00
umount Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
Makefile Build mount_reiserfs on every platforms, not only i386 and pc98. 2005-06-21 13:02:45 +00:00
Makefile.inc NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00