# os.linux: some fixes to BPF module · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/c750d95417ec94e91a76da769db96f6810900c03)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: c750d95417ec94e91a76da769db96f6810900c03

Requested commit: c750d95417ec94e91a76da769db96f6810900c03

Commit: c750d95417ec94e91a76da769db96f6810900c03

Tree: b92b26a4fd4b6b3da9d570800829817b6da73a58

Author: bfredl

Committer: Andrew Kelley

## Message

```
os.linux: some fixes to BPF module

- For ALU operations, src should be allowed to be an explicit Reg.
- Expose AluOp and JmpOp as public types.
  This makes code generation using BPF as a backend easier,
  as AluOp and JmpOp can be used directly as part of an IR

```

## Parents

- [b346d48572c99f809913cced8910a04d6699701d](https://git.cafe/gitcafe/zig/commit/b346d48572c99f809913cced8910a04d6699701d?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/c750d95417ec94e91a76da769db96f6810900c03?format=markdown)
