csjp
17dd22a407
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
..
2004-04-07 20:46:16 +00:00
2005-01-07 01:45:51 +00:00
2005-09-05 23:08:04 +00:00
2005-08-22 19:35:48 +00:00
2005-09-05 23:08:04 +00:00
2005-08-09 10:20:02 +00:00
2005-06-10 16:49:24 +00:00
2005-08-18 20:17:00 +00:00
2005-07-05 23:39:51 +00:00
2004-10-05 19:28:52 +00:00
2005-01-07 01:45:51 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-08-09 10:20:02 +00:00
2005-06-10 16:49:24 +00:00
2005-08-09 10:20:02 +00:00
2005-08-11 08:14:53 +00:00
2005-08-27 01:17:42 +00:00
2005-07-06 01:24:45 +00:00
2005-02-24 13:14:41 +00:00
2005-01-07 01:45:51 +00:00
2005-06-26 18:11:11 +00:00
2005-01-07 01:45:51 +00:00
2005-08-09 10:20:02 +00:00
2005-08-23 14:13:17 +00:00
2005-08-09 10:20:02 +00:00
2005-08-09 10:20:02 +00:00
2005-08-11 08:14:53 +00:00
2005-08-09 10:20:02 +00:00
2005-06-10 16:49:24 +00:00
2005-08-09 10:20:02 +00:00
2005-06-10 16:49:24 +00:00
2005-08-11 08:14:53 +00:00
2005-06-05 03:13:13 +00:00
2005-08-09 10:20:02 +00:00
2005-01-07 01:45:51 +00:00
2005-02-22 13:04:05 +00:00
2005-05-06 02:50:00 +00:00
2005-01-07 01:45:51 +00:00
2005-08-12 08:27:15 +00:00
2005-01-07 01:45:51 +00:00
2005-08-12 08:27:15 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-06-10 16:49:24 +00:00
2005-08-09 10:20:02 +00:00
2005-06-26 18:11:11 +00:00
2005-01-07 01:45:51 +00:00
2005-08-09 10:20:02 +00:00
2005-01-07 01:45:51 +00:00
2005-06-10 16:49:24 +00:00
2005-08-09 10:20:02 +00:00
2005-01-07 01:45:51 +00:00
2005-06-10 16:49:24 +00:00
2005-08-09 10:16:17 +00:00
2005-08-31 11:36:50 +00:00
2005-08-31 11:36:50 +00:00
2005-09-04 17:32:47 +00:00
2005-08-09 12:56:20 +00:00
2005-04-13 08:14:14 +00:00
2005-01-11 07:08:15 +00:00
2004-10-11 20:01:43 +00:00
2005-01-07 01:45:51 +00:00
2005-05-23 17:07:16 +00:00
2005-01-07 01:45:51 +00:00
2005-01-07 01:45:51 +00:00
2005-01-07 01:45:51 +00:00
2005-01-07 01:45:51 +00:00
2005-01-07 01:45:51 +00:00
2005-08-12 08:27:15 +00:00
2005-01-07 01:45:51 +00:00
2005-01-07 01:45:51 +00:00
2005-01-24 22:56:09 +00:00
2005-01-07 01:45:51 +00:00
2005-01-07 01:45:51 +00:00
2005-08-11 08:14:53 +00:00
2005-01-07 01:45:51 +00:00
2005-08-25 13:30:04 +00:00
2004-04-07 20:46:16 +00:00
2005-01-07 01:45:51 +00:00
2004-04-07 20:46:16 +00:00
2005-01-07 01:45:51 +00:00
2005-01-07 01:45:51 +00:00