| Crates.io | chmod-bpf |
| lib.rs | chmod-bpf |
| version | 0.5.0 |
| created_at | 2024-06-08 12:22:19.677064+00 |
| updated_at | 2025-11-22 06:38:11.49935+00 |
| description | Managing BPF device permissions on macOS |
| homepage | https://github.com/shellrow/chmod-bpf |
| repository | https://github.com/shellrow/chmod-bpf |
| max_upload_size | |
| id | 1265703 |
| size | 71,857 |
Managing BPF device permissions on macOS.
chmod-bpf is a helper utility that focuses on two things:
/dev/bpf* devices accessible to trusted operators.curl --proto '=https' --tlsv1.2 -LsSf https://github.com/shellrow/chmod-bpf/releases/latest/download/chmod-bpf-installer.sh | sh
cargo install chmod-bpf
git clone https://github.com/shellrow/chmod-bpf.git
cd chmod-bpf
cargo build --release
The CLI exposes three subcommands:
check - Audits BPF permissions, group membership, and known daemon configurations.install - Installs the launch daemon, helper scripts, and access_bpf group. Requires sudo.uninstall - Removes all helper assets and tears down the daemon. Requires sudo.Every administrative subcommand accepts -y/--yes to skip the confirmation prompt when you are scripting the tool.
Inspect the current permissions
chmod-bpf check
Install everything
sudo chmod-bpf install
Remove every asset that was previously installed
sudo chmod-bpf uninstall