| Summary: | [bpf] [patch] BPF_COP/BPF_COPX instruction reservation (sync with NetBSD) | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Mindaugas Rasiukevicius <rmind> |
| Component: | kern | Assignee: | Xin LI <delphij> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | CC: | brueffer, delphij, emaste, imp |
| Priority: | Normal | Keywords: | patch |
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Mindaugas Rasiukevicius
2013-08-29 19:10:00 UTC
Responsible Changed From-To: freebsd-bugs->freebsd-net Over to maintainer(s). Adrian volunteered to handle this. batch change: For bugs that match the following - Status Is In progress AND - Untouched since 2018-01-01. AND - Affects Base System OR Documentation DO: Reset to open status. Note: I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed. This has been semi-committed: #define BPF_TAX 0x00 /* 0x08 reserved */ /* 0x10 reserved */ /* 0x18 reserved */ /* #define BPF_COP 0x20 NetBSD "coprocessor" extensions */ /* 0x28 reserved */ /* 0x30 reserved */ /* 0x38 reserved */ /* #define BPF_COPX 0x40 NetBSD "coprocessor" extensions */ /* also used on BSD/OS */ /* 0x48 reserved */ They are marked as reserved in bpf.h Do they need to be uncommented out? I believe they are commented because FreeBSD doesn't use those values at all and so code compiled with the extension can either ifdef it, or fail to build. Keyword:
patch
or patch-ready
– in lieu of summary line prefix:
[patch]
* bulk change for the keyword
* summary lines may be edited manually (not in bulk).
Keyword descriptions and search interface:
<https://bugs.freebsd.org/bugzilla/describekeywords.cgi>
The values are currently reserved (as part of a previous libpcap import by me) and will not be used for other purposes, so closing as fixed. I think we should leave these commented: the only consumer as of today was NetBSD's npf, so we can bring it to live should we incorporate npf in the future. |