freebsd-dev/sys
Alexander V. Chernikov 1940fa7727 Change tablearg value to be 0 (try #2).
Most of the tablearg-supported opcodes does not accept 0 as valid value:
 O_TAG, O_TAGGED, O_PIPE, O_QUEUE, O_DIVERT, O_TEE, O_SKIPTO, O_CALLRET,
 O_NETGRAPH, O_NGTEE, O_NAT treats 0 as invalid input.

The rest are O_SETDSCP and O_SETFIB.
'Fix' them by adding high-order bit (0x8000) set for non-tablearg values.
Do translation in kernel for old clients (import_rule0 / export_rule0),
teach current ipfw(8) binary to add/remove given bit.

This change does not affect handling SETDSCP values, but limit
O_SETFIB values to 32767 instead of 65k. Since currently we have either
old (16) or new (2^32) max fibs, this should not be a big deal:
we're definitely OK for former and have to add another opcode to deal
with latter, regardless of tablearg value.
2014-08-12 15:51:48 +00:00
..
amd64 Replace enum forward declarations with complete definitions. 2014-06-10 18:46:00 +00:00
arm Fix various NIC drivers to properly cleanup static DMA resources. 2014-06-11 14:53:58 +00:00
boot mdoc: fix AUTHORS section. 2014-06-09 19:36:08 +00:00
bsm IFp4 @1192291: 2014-04-07 20:44:00 +00:00
cam The code that combines adjacent ranges for BIO_DELETEs to optimize 2014-06-05 17:13:42 +00:00
cddl Removed stale comment about multi-vdev root pool config not working 2014-06-09 13:04:58 +00:00
compat - Add support for SG_GET_SG_TABLESIZE IOCTL to report that we don't support 2014-06-04 12:05:47 +00:00
conf * Add generic ipfw interface tracking API 2014-07-28 19:01:25 +00:00
contrib Fix decoding of near CALL when address-size prefix (67h) is present. 2014-06-11 20:38:14 +00:00
crypto NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
ddb handle longer commands so that lines don't overflow... people who added 2014-06-02 23:50:19 +00:00
dev - Unmap static DMA buffers allocated via bus_dmemem_alloc() before 2014-06-11 20:46:23 +00:00
fs The new NFS server would not allow a hard link to be 2014-06-06 21:38:49 +00:00
gdb
geom Add disklabel64 support to GEOM_PART class. 2014-06-11 10:42:34 +00:00
gnu Symbolic bindings for the dts files... 2014-02-28 16:51:33 +00:00
i386 Add a page size field to struct vm_page. Increase the page size field when 2014-06-07 17:12:26 +00:00
ia64 Restore comments accidentally removed. 2014-06-06 04:08:55 +00:00
isa Remove vestiges of knowing the ISA bus, which we gave up on around 20 2014-03-19 21:03:04 +00:00
kern Remove unneeded mountlist_mtx acquisition from sync_fsync(). 2014-06-11 12:56:49 +00:00
kgssapi
libkern Use strcasecmp() instead of strcmp() when checking user-supplied encoding 2014-06-09 19:27:47 +00:00
mips Fix various NIC drivers to properly cleanup static DMA resources. 2014-06-11 14:53:58 +00:00
modules * Add generic ipfw interface tracking API 2014-07-28 19:01:25 +00:00
net Improve logic besides net.bpf.optimize_writers. 2014-06-11 11:27:44 +00:00
net80211 Use logical rather than bitwise OR in if() expression. 2014-04-26 23:22:49 +00:00
netgraph PF_BLUETOOTH protocols: skip initialization of non-virtualized globals 2014-06-10 18:21:37 +00:00
netinet Change tablearg value to be 0 (try #2). 2014-08-12 15:51:48 +00:00
netinet6 Remove unused variable. 2014-06-08 09:08:51 +00:00
netipsec Use IPv4 statistics in ipsec4_process_packet() rather than the IPv6 2014-05-28 23:01:20 +00:00
netnatm
netpfil Change tablearg value to be 0 (try #2). 2014-08-12 15:51:48 +00:00
netsmb Remove redundant unlock. 2014-04-17 12:22:08 +00:00
nfs Introduce new per-thread lock to protect the list of requests. 2014-06-08 09:40:26 +00:00
nfsclient For software builds, the NFS client does many small 2013-12-07 23:05:59 +00:00
nfsserver The PR reported that the old NFS server did not set uio_td == NULL 2014-04-24 20:47:58 +00:00
nlm Correct a typo in nlm_find_host_by_addr(): the intention of the 2014-03-11 00:25:55 +00:00
ofed Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
opencrypto allow the kern.cryptodevallowsoft sysctl to enable symetric/hashes too... 2014-03-11 01:45:46 +00:00
pc98 lindev(4): finish the partial commit in r265212 2014-05-02 07:14:22 +00:00
pci Fix various NIC drivers to properly cleanup static DMA resources. 2014-06-11 14:53:58 +00:00
powerpc Commit the rest of the changes that were intended to be part of r266826. 2014-05-29 01:42:22 +00:00
rpc Fix race in r267221. 2014-06-09 15:00:43 +00:00
security audit: plug FILEDESC_LOCK leak in audit_canon_path. 2014-03-21 01:30:33 +00:00
sparc64 Restore comments accidentally removed. 2014-06-06 04:08:55 +00:00
sys Add DragonFlyBSD's Hammer FS types and type names. 2014-06-11 10:14:40 +00:00
teken Fix typo. 2014-02-06 13:28:06 +00:00
tools Call cpp with -P to avoid printing line markings. 2014-06-10 06:24:01 +00:00
ufs Initialize the pbuf counter for directio using SYSINIT, instead of 2014-06-08 10:55:06 +00:00
vm Correct a bug in the management of the population map on big-endian 2014-06-11 16:11:12 +00:00
x86 Eliminate the fake contig_dmamap and replace it with a new flag, 2014-05-27 21:31:11 +00:00
xdr
xen Make this compile with gcc. 2014-04-05 22:43:18 +00:00
Makefile Reorganize this Makefile so that all the bsd.*.mk bits are in one 2014-05-29 16:03:08 +00:00