freebsd-src/sbin
Luigi Rizzo b87ce5545b Several ipfw options and actions use a 16-bit argument to indicate
pipes, queues, tags, rule numbers and so on.
These are all different namespaces, and the only thing they have in
common is the fact they use a 16-bit slot to represent the argument.

There is some confusion in the code, mostly for historical reasons,
on how the values 0 and 65535 should be used. At the moment, 0 is
forbidden almost everywhere, while 65535 is used to represent a
'tablearg' argument, i.e. the result of the most recent table() lookup.

For now, try to use explicit constants for the min and max allowed
values, and do not overload the default rule number for that.

Also, make the MTAG_IPFW declaration only visible to the kernel.

NOTE: I think the issue needs to be revisited before 8.0 is out:
the 2^16 namespace limit for rule numbers and pipe/queue is
annoying, and we can easily bump the limit to 2^32 which gives
a lot more flexibility in partitioning the namespace.

MFC after:	5 days
2009-06-05 16:16:07 +00:00
..
adjkerntz
atacontrol Bring SATA revision reporting into conformance with SATA-IO guidelines. 2009-02-23 22:29:38 +00:00
atm Remove netatm from HEAD as it is not MPSAFE and relies on the now removed 2008-05-25 22:11:40 +00:00
badsect
bsdlabel o One more s/gpt/gpart/. 2008-11-05 09:28:30 +00:00
camcontrol Add SCSI READ CAPACITY support to camcontrol. The new 'readcap' subcommand 2007-09-08 20:24:12 +00:00
ccdconfig
clri Use an intermediate pointer to avoid strict alias check warnings 2007-11-20 01:55:37 +00:00
comcontrol
conscontrol
ddb Apply various fixes: 2008-12-24 11:12:21 +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 Support the remaining options listed in dhcp-options(5) and RFC 2132. 2008-10-17 13:28:53 +00:00
dmesg
dump Make dump -W show the level correctly. 2009-05-29 07:26:44 +00:00
dumpfs Print disk offets as %jd rather than %lld; I fixed one before committing 2009-01-28 12:08:19 +00:00
dumpon
fdisk Bump the document date to reflect the 'p' command enhancements. 2009-05-25 21:27:31 +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 Add the '-C' "check clean" flag. If the FS is marked clean, skip file 2009-01-30 18:33:05 +00:00
fsck_ffs Correct comment. 2009-06-03 09:23:31 +00:00
fsck_msdosfs Spot two more bugs WRT adherence to the local prompt style. 2008-01-31 13:22:13 +00:00
fsdb
fsirand
gbde
geom o Fix typo in the example. 2009-05-25 09:52:58 +00:00
ggate The signature for a pthread function requires that it 2008-06-26 07:05:35 +00:00
growfs Fix an int overflow on very large file systems. 2007-12-17 08:03:18 +00:00
gvinum Bump doc date for previous changes. 2009-04-11 08:49:15 +00:00
ifconfig track rename of CSA ie 2009-06-04 18:22:21 +00:00
init Static-ify procedures in init(8). 2008-09-27 00:09:10 +00:00
ipf This makefile builds contrib code, so I won't try to fix all the 2007-11-18 03:29:10 +00:00
ipfw Several ipfw options and actions use a 16-bit argument to indicate 2009-06-05 16:16:07 +00:00
iscontrol Big update to the iSCSI initiator code. Highlights include IPv6 support, 2008-11-25 07:17:11 +00:00
kldconfig
kldload Bump document date. 2009-06-05 03:06:24 +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
ldconfig
mca
md5 Minor markup fix for the r186836 update. 2009-01-06 21:16:42 +00:00
mdconfig Add the possibility to specify "-o force" with "mdconfig -du". 2009-01-10 17:17:18 +00:00
mdmfs -n is used by newfs to tell "do not generate a .snap directory" instead of 2007-05-14 19:23:13 +00:00
mknod In the previous changeset a cast of myminor to u_int were 2007-06-14 03:16:16 +00:00
mksnap_ffs Initialize iov and iovlen before use. 2009-06-02 18:30:09 +00:00
mount Add support for the experimental nfs client to mount_nfs. The 2009-05-27 19:56:51 +00:00
mount_autofs
mount_cd9660
mount_ext2fs
mount_hpfs
mount_msdosfs Add missing qualifier which was missed in the previous commit. 2009-01-05 12:10:22 +00:00
mount_nfs Code for parsing nmount options in kernel was merged 2009-06-01 00:40:39 +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
mount_reiserfs
mount_std
mount_udf
mount_unionfs Added whiteout behavior option. ``-o whiteout=always'' is default mode 2007-10-14 13:55:38 +00:00
natd Check rule numbers against maximum value to avoid rules cleanup due 2008-09-06 17:26:52 +00:00
newfs Slightly improve gjournal documentation. 2009-04-29 10:02:50 +00:00
newfs_msdos Style fixes to the newfs_msdos manpage. 2009-04-11 15:07:27 +00:00
nfsiod
nos-tun
pfctl Link pf 4.1 to the build: 2007-07-03 12:46:08 +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 Document the misleading nature of the REQUIRE line. The patch in 2008-06-09 09:07:58 +00:00
reboot Remove and unused variable. 2009-01-31 13:48:15 +00:00
recoverdisk Save (empty) worklist at successful completion 2009-03-23 11:07:34 +00:00
restore Make 'struct acl' larger, as required to support NFSv4 ACLs. Provide 2009-05-22 15:56:43 +00:00
route Extend route command: 2009-04-14 23:05:36 +00:00
routed Only raise WARNS to 6 on i386 and amd64, strict alignment platforms still 2009-04-06 07:13:26 +00:00
rtsol
savecore Correct the information about when the respective functionality first 2009-04-23 08:37:56 +00:00
sconfig Do not set IFF_DEBUG directly from the driver. 2008-06-30 21:18:27 +00:00
setkey o Add missed dot. 2008-09-29 05:31:27 +00:00
shutdown Note that when shutdown is run without options, it will place 2008-12-23 15:00:03 +00:00
spppcontrol Use a cast that doesn't create a compiler warning. 2007-11-18 00:33:23 +00:00
sunlabel
swapon Add a -q flag to swapon(8) to suppress informational messages. Use it in 2008-06-23 22:17:08 +00:00
sysctl The sysctl(8) program exits on some errors and only emits warnings on 2008-06-23 22:06:28 +00:00
tunefs Slightly improve gjournal documentation. 2009-04-29 10:02:50 +00:00
umount
Makefile Remove the unmaintained University of Michigan NFSv4 client from 8.x 2009-05-22 12:35:12 +00:00
Makefile.inc