freebsd-dev/sbin
Ed Maste 40efe37e07 Reject invalid CIDR widths rather than silently stopping at the first
non-digit character.

Due to an issue with rc(8) in a test configuration, ifconfig was being
invoked with the address used again as the width - for example,

  ifconfig vlan0 10.0.0.1/10.0.0.1

Prior to this change, that address/width would be interpreted as
10.0.0.1/10.
2010-01-14 15:27:18 +00:00
..
adjkerntz Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
atacontrol MFp4: 2009-12-06 00:10:13 +00:00
atm Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
badsect Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
bsdlabel Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
camcontrol MFp4: 2009-11-26 08:49:46 +00:00
ccdconfig Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
clri Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
comcontrol ANSIfy almost all applications that use WARNS=6. 2009-12-29 22:53:27 +00:00
conscontrol Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
ddb Ensure 'kvm' is always initialized. If "-M" was not specified and the 2009-11-02 20:18:50 +00:00
devd o Spell. Sort .Xrs. 2009-03-08 18:02:30 +00:00
devfs Support for filtering on major device number was removed in rev. 1.7 or 2008-06-27 09:09:50 +00:00
dhclient Make dhclient use bootpc (68) as the source port for unicast DHCPREQUEST 2009-10-21 23:50:35 +00:00
dmesg Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
dump Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
dumpfs Print leading zeros in the UFS2 FSID. 2010-01-06 14:01:28 +00:00
dumpon Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
fdisk - Back out the previous change in order to maintain compatibility. 2009-06-17 06:41:10 +00:00
fdisk_pc98 Use the common PC98_SID_ACTIVE define instead of a local define. 2009-03-19 12:31:59 +00:00
ffsinfo Don't coredump when executed with -o. 2008-01-29 00:20:00 +00:00
fsck Fix minor resource leak in a function which was introduced by changing an 2009-11-20 15:27:00 +00:00
fsck_ffs Cast 64-bit quantity to intptr_t rather than int so as to work properly 2010-01-11 23:33:30 +00:00
fsck_msdosfs fsck_msdosfs: accept no-op -C option for compatibilty with fsck 2009-06-10 19:02:54 +00:00
fsdb Update after function renames. 2006-10-31 22:07:29 +00:00
fsirand
gbde Remove temporary files when there are no longer needed. 2007-04-06 11:16:11 +00:00
geom Increase default block size from 4K to 64K. It was reduces 6 yeard ago, 2010-01-06 17:12:18 +00:00
ggate (S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument. 2009-12-28 22:56:30 +00:00
growfs Remove dead code. This section of code is only run in the 2010-01-02 20:18:10 +00:00
gvinum Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
ifconfig Reject invalid CIDR widths rather than silently stopping at the first 2010-01-14 15:27:18 +00:00
init Migrate init(8) towards utmpx. 2010-01-13 17:58:49 +00:00
ipf Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
ipfw implement a new match option, 2009-12-15 09:46:27 +00:00
iscontrol Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
kldconfig Fix malloc size (visible on amd64, with "kldconfig -r"). 2005-11-07 19:22:20 +00:00
kldload Add a note about the implication of secure level setting against kldload, 2009-06-23 23:56:56 +00:00
kldstat Only show the pathname in verbose output as intended in the last commit (r172862). 2008-12-22 19:52:21 +00:00
kldunload Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
ldconfig ANSIfy ldconfig and the aout bits it still uses from rtld-aout. 2009-12-29 21:07:17 +00:00
mca Markup nit. 2006-09-30 11:12:36 +00:00
md5 Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mdconfig Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mdmfs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mknod Refine r198714, it's not as easy as just leaving the major number zero. 2009-11-01 18:25:11 +00:00
mksnap_ffs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mount ANSIfy almost all applications that use WARNS=6. 2009-12-29 22:53:27 +00:00
mount_autofs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mount_cd9660 Fix minor memory leak in a function. 2009-11-20 15:28:38 +00:00
mount_ext2fs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +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 Remove reference to the bug in FreeBSD 2.0. 2010-01-02 17:45:53 +00:00
mount_nfs Fix parsing of mount options specified with -o in case an option with 2009-10-26 14:57:33 +00:00
mount_ntfs Tone down warning about the quality of the NTFS VFS module. It appears that 2009-01-20 02:08:21 +00:00
mount_nullfs ANSIfy almost all applications that use WARNS=6. 2009-12-29 22:53:27 +00:00
mount_reiserfs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mount_std Reduce the number of errors under WARNS=6 2006-09-13 04:50:44 +00:00
mount_udf style.Makefile(5): Remove -Wall from CFLAGS. 2006-07-17 20:53:25 +00:00
mount_unionfs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
natd (S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument. 2009-12-28 22:56:30 +00:00
newfs Fix typo: s/partion/partition/ 2010-01-02 17:32:40 +00:00
newfs_msdos Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
nfsiod - Display current settings when run without options. 2009-12-26 08:36:02 +00:00
nos-tun Expand *n't contractions. 2005-02-13 22:25:33 +00:00
pfctl Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
pflogd Let pflogd's Makefile just use WARNS instead of changing CFLAGS. 2009-04-23 09:11:37 +00:00
ping - improve readability 2009-01-11 22:36:45 +00:00
ping6 Implement -R support, similar to ping(8)'s -A. 2008-08-27 15:01:23 +00:00
quotacheck Drag this code kicking and screaming into the twenty-first century. 2008-07-02 15:51:59 +00:00
rcorder ANSIfy almost all applications that use WARNS=6. 2009-12-29 22:53:27 +00:00
reboot Port the remaining apps in sbin/ to utmpx; only reboot(8). 2010-01-13 17:59:23 +00:00
recoverdisk Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
restore Make 'struct acl' larger, as required to support NFSv4 ACLs. Provide 2009-05-22 15:56:43 +00:00
route remove stale references to RTF_CLONING and RTF_LLINFO 2009-09-04 18:52:26 +00:00
routed (S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument. 2009-12-28 22:56:30 +00:00
rtsol Add eye candy while I'm here: a blank line between 2006-07-27 18:28:14 +00:00
savecore Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
sconfig Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
setkey o Add missed dot. 2008-09-29 05:31:27 +00:00
shutdown Add missing `void' for functions without arguments. 2009-12-29 08:49:43 +00:00
spppcontrol Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
sunlabel Fix grammar error caused by my previous edit. 2005-03-30 18:54:41 +00:00
swapon Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
sysctl Just use devname(3) to print device names. 2009-11-03 11:41:21 +00:00
tunefs Implement NFSv4 ACL support for UFS. 2009-12-21 19:39:10 +00:00
umount Let umount build with -Wold-style-definition. 2009-12-30 06:36:42 +00:00
Makefile Remove the unmaintained University of Michigan NFSv4 client from 8.x 2009-05-22 12:35:12 +00:00
Makefile.inc Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00