freebsd-nq/sys
Ed Schouten 136600fe59 Change bpf(4) to use the cdevpriv API.
Right now the bpf(4) driver uses the cloning API to generate /dev/bpf%u.
When an application such as tcpdump needs a BPF, it opens /dev/bpf0,
/dev/bpf1, etc. until it opens the first available device node. We used
this approach, because our devfs implementation didn't allow
per-descriptor data.

Now that we can, make it use devfs_get_cdevpriv() to obtain the private
data. To remain compatible with the existing implementation, add a
symlink from /dev/bpf0 to /dev/bpf. I've already changed libpcap to
compile with HAVE_CLONING_BPF, which makes it use /dev/bpf. There may be
other applications in the base system (dhclient) that use the loop to
obtain a valid bpf.

Discussed on:	src-committers
Approved by:	csjp
2008-08-13 15:41:21 +00:00
..
amd64 Update copyrights and fix style(9). 2008-08-12 21:31:31 +00:00
arm Add locking to the various iicbus(4) bridge drivers: 2008-08-04 20:46:15 +00:00
boot Add an entry for the upgt(4) module. 2008-08-11 04:54:43 +00:00
bsm Further synchronization of copyrights, licenses, white space, etc from 2008-07-31 09:54:35 +00:00
cam Update SCSI opcodes and ASCs from t10.org. 2008-08-07 17:25:05 +00:00
cddl We want to use LBOLT instead of lbolt on FreeBSD. 2008-07-21 14:35:48 +00:00
compat Add TIOCPKT and TIOCSPTLCK to the Linuxolator. 2008-07-23 17:47:44 +00:00
conf Remove cxgb private lro implementation and switch to using system implementation. 2008-08-12 00:27:32 +00:00
contrib Merge state reuse for tcp. 2008-08-04 14:42:09 +00:00
crypto Simplify session selection/allocation. 2008-08-09 20:01:01 +00:00
ddb Fix software single-stepping: we need to check if the instruction is a 2008-08-02 12:49:43 +00:00
dev o Add a quirk for Sony Handycam DCR-HC32E. 2008-08-13 12:40:20 +00:00
fs Remove unnecessary locking around pointer fetch. 2008-08-12 19:34:45 +00:00
gdb
geom Style(9). 2008-08-12 20:19:08 +00:00
gnu - Disallow XFS mounting in write mode. The write support never worked really 2008-07-21 23:01:09 +00:00
i386 MFamd64: Remove unused macros. 2008-08-12 21:45:38 +00:00
ia64 Update bus_dmamem_alloc()'s first call to malloc() such that M_WAITOK is 2008-07-15 03:34:49 +00:00
isa
kern Reduce the scope of the vnode lock such that it does not cover 2008-08-12 21:27:48 +00:00
libkern Return arc4_i = arc4_j = 0; line from previous backing out since 2008-07-26 16:42:45 +00:00
mips Document a few sysctls. 2008-08-03 14:11:06 +00:00
modules Remove cxgb private lro implementation and switch to using system implementation. 2008-08-12 00:27:32 +00:00
net Change bpf(4) to use the cdevpriv API. 2008-08-13 15:41:21 +00:00
net80211 Verify that the WPA flags set are actually compatible with the 2008-08-09 05:46:01 +00:00
netatalk Remove NETISR_MPSAFE, which allows specific netisr handlers to be directly 2008-07-04 00:21:38 +00:00
netgraph Implement ratelimiting for debug messages. For now, allow at most 2008-08-01 00:36:43 +00:00
netinet Nit 2008-08-09 11:28:57 +00:00
netinet6 Adopt the slightly weaker consistency locking approach used in IPv4 raw 2008-07-30 09:26:27 +00:00
netipsec Increase statistic counters for enc0 interface when enabled 2008-08-12 09:05:01 +00:00
netipx Begin the sysctl descriptions with a capital letter. 2008-07-25 23:54:07 +00:00
netnatm Remove NETISR_MPSAFE, which allows specific netisr handlers to be directly 2008-07-04 00:21:38 +00:00
netncp
netsmb
nfs
nfs4client Move the NFS/RPC code away from lbolt. 2008-07-22 21:27:22 +00:00
nfsclient Try again not to use a userspace pointer in the kernel when trying to record 2008-07-24 14:02:03 +00:00
nfsserver Remove spls from NFS server setup call; expand receive socket buffer 2008-06-30 20:43:06 +00:00
nlm Fix an interop issue with Linux: If you do nothing but TCP 2008-08-13 12:03:31 +00:00
opencrypto
pc98 Disconnect drivers that haven't been ported to MPSAFE TTY yet. 2008-08-03 10:32:17 +00:00
pccard
pci Move sis to sys/dev/sis for consistency. 2008-08-10 10:00:14 +00:00
powerpc Disconnect drivers that haven't been ported to MPSAFE TTY yet. 2008-08-03 10:32:17 +00:00
rpc Add a missing call to mtx_destroy() in clnt_reconnect_destroy(). 2008-08-13 12:04:54 +00:00
security Make sure we check the preselection masks present for all audit pipes. 2008-08-11 20:14:56 +00:00
sparc64 Assume OpenSolaris knows better and use their value for VM_MAX_PROM_ADDRESS. 2008-08-12 20:00:28 +00:00
sun4v - Reimplement {d,i}tlb_enter() and {d,i}tlb_va_to_pa() in C. There's 2008-08-07 22:46:25 +00:00
sys Fix compilation of arm's AVILA. 2008-08-13 09:20:52 +00:00
tools
ufs Revert r181345. 2008-08-10 12:15:36 +00:00
vm If a thread that is swapped out is made runnable, then the setrunnable() 2008-08-05 20:02:31 +00:00
xdr
xen Import OS interfaces to Xen services. 2008-08-12 07:36:56 +00:00
Makefile Add a "glimpse" target to the kernel Makefile. 2008-08-08 18:00:33 +00:00