kern/181657: BPF_COP/BPF_COPX instruction reservation (sync with NetBSD)
Mindaugas Rasiukevicius
rmind at netbsd.org
Thu Aug 29 18:10:01 UTC 2013
>Number: 181657
>Category: kern
>Synopsis: BPF_COP/BPF_COPX instruction reservation (sync with NetBSD)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 29 18:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Mindaugas Rasiukevicius
>Release:
>Organization:
The NetBSD Project
>Environment:
FreeBSD -current
>Description:
Support for BPF coprocessor has been added to NetBSD (all details were also
presented on freebsd-net@). This functionality adds two new instructions:
#define BPF_MISCOP(code) ((code) & 0xf8)
#define BPF_TAX 0x00
+#define BPF_COP 0x20
+#define BPF_COPX 0x40
#define BPF_TXA 0x80
It would be great if FreeBSD would reserve the opcodes. If you would like
to backport the BPF coprocessor interface, the change is here:
http://mail-index.netbsd.org/source-changes/2013/08/29/msg047090.html
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list