The new eBPF instruction class JMP32 uses the reserved class number 0x6. Kernel BPF ISA documentation updated accordingly.
Showing the changes to include/uapi/linux (1 of 3 files). Show all
Unified · Split
| @@ -14,6 +14,7 @@ · 13 unmodified lines | |||
| 14 | /* Extended instruction set based on top of classic BPF */ | 14 | /* Extended instruction set based on top of classic BPF */ |
| 15 | 15 | ||
| 16 | /* instruction classes */ | 16 | /* instruction classes */ |
| 17 | #define BPF_JMP32 0x06 /* jmp mode in word width */ | ||
| 17 | #define BPF_ALU64 0x07 /* alu mode in double word width */ | 18 | #define BPF_ALU64 0x07 /* alu mode in double word width */ |
| 18 | 19 | ||
| 19 | /* ld/ldx fields */ | 20 | /* ld/ldx fields */ |