freebsd-dev/sys
Christian S.J. Peron b75a24a075 Instead of caching the PID which opened the bpf descriptor, continuously
refresh the PID which has the descriptor open. The PID is refreshed in various
operations like ioctl(2), kevent(2) or poll(2). This produces more accurate
information about current bpf consumers. While we are here remove the bd_pcomm
member of the bpf stats structure because now that we have an accurate PID we
can lookup the via the kern.proc.pid sysctl variable. This is the trick that
NetBSD decided to use to deal with this issue.

Special care needs to be taken when MFC'ing this change, as we have made a
change to the bpf stats structure. What will end up happening is we will leave
the pcomm structure but just mark it as being un-used. This way we keep the ABI
in tact.

MFC after:	1 month
Discussed with:	Rui Paulo < rpaulo at NetBSD dot org >
2005-09-05 23:08:04 +00:00
..
alpha Pass a value of type vm_prot_t to pmap_enter_quick() so that it determine 2005-09-03 18:20:20 +00:00
amd64 Eliminate unnecessary TLB invalidations by pmap_enter(). Specifically, 2005-09-04 19:06:27 +00:00
arm Pass a value of type vm_prot_t to pmap_enter_quick() so that it determine 2005-09-03 18:20:20 +00:00
boot net.graph.ngqfreemax has been deprecated. 2005-08-31 10:51:55 +00:00
bsm
cam
coda
compat Test the mbuf flags against the correct constant. The previous version 2005-08-30 16:21:51 +00:00
conf Remove the el(4) driver for 3Com 3c501 ISA NICs from HEAD as threatened 2005-08-26 13:42:04 +00:00
contrib Wrap the new world order in __FreeBSD__ to ease future imports. 2005-08-09 11:59:02 +00:00
crypto Add VIA/ACE "PadLock" support as a crypto(9) driver. 2005-08-18 00:30:22 +00:00
ddb Remove the need to forward declare statics by moving them around. 2005-08-10 07:08:14 +00:00
dev When bge_stop() is called from bge_detach(), mii is already NULL, so check 2005-09-04 06:35:59 +00:00
doc
fs Unbreak hpfs/ntfs/udf/ext2fs/reiserfs mounting. 2005-09-03 20:23:41 +00:00
gdb
geom Remove a race condition that could result in processes being stuck 2005-09-04 19:14:19 +00:00
gnu Unbreak hpfs/ntfs/udf/ext2fs/reiserfs mounting. 2005-09-03 20:23:41 +00:00
i4b Propagate rename of IFF_OACTIVE and IFF_RUNNING to IFF_DRV_OACTIVE and 2005-08-09 10:20:02 +00:00
i386 Eliminate unnecessary TLB invalidations by pmap_enter(). Specifically, 2005-09-04 19:06:27 +00:00
ia64 Milestone: enable SMP by default. 2005-09-05 21:36:28 +00:00
isa
isofs/cd9660 - restore the ability to mount cd9660 filesystems as root by inverting 2005-08-14 04:19:36 +00:00
kern Remove Giant mutex from polling(4) and use a separate poll_mtx(4) 2005-09-05 16:02:11 +00:00
libkern - Fix checking range of strings of struct iconv_add_in in libsmb and libkiconv, 2005-08-24 12:38:26 +00:00
modules Unbreak stand-alone build of the de(4) module. 2005-08-29 15:18:04 +00:00
net Instead of caching the PID which opened the bpf descriptor, continuously 2005-09-05 23:08:04 +00:00
net80211 Properly set ic_curchan before calling back to device driver to do channel 2005-08-30 14:27:47 +00:00
netatalk Use the correct mbuf type for MGET(). 2005-08-30 16:28:46 +00:00
netatm Propagate rename of IFF_OACTIVE and IFF_RUNNING to IFF_DRV_OACTIVE and 2005-08-09 10:20:02 +00:00
netgraph Use non-debug macros inside debugging functions, to prevent 2005-09-02 19:52:54 +00:00
netinet clear lock on error in O_LIMIT case of install_state 2005-09-04 17:33:40 +00:00
netinet6 Use the correct mbuf type for MGET(). 2005-08-30 16:35:27 +00:00
netipsec
netipx
netkey SADB_UPDATE did not return an error when key length is invalid. 2005-08-22 07:05:14 +00:00
netnatm Propagate rename of IFF_OACTIVE and IFF_RUNNING to IFF_DRV_OACTIVE and 2005-08-09 10:20:02 +00:00
netncp
netsmb
nfs
nfs4client
nfsclient
nfsserver
opencrypto Fix bogus check. It was possible to panic the kernel by giving 0 length. 2005-08-18 11:58:03 +00:00
pc98
pccard
pci Use if_printf() and device_printf() for printf's and remove the unit number 2005-08-31 18:03:18 +00:00
posix4
powerpc Pass a value of type vm_prot_t to pmap_enter_quick() so that it determine 2005-09-03 18:20:20 +00:00
rpc
security
sparc64 Pass a value of type vm_prot_t to pmap_enter_quick() so that it determine 2005-09-03 18:20:20 +00:00
sys Fix panic when loading libiconv.ko on sparc64. 2005-09-05 17:03:40 +00:00
tools
ufs Retain generation count when writing zeroes instead of an inode to disk. 2005-09-05 22:14:33 +00:00
vm Pass a value of type vm_prot_t to pmap_enter_quick() so that it determine 2005-09-03 18:20:20 +00:00
Makefile