Skip to content

Conversation

@maheshbhatiya73
Copy link
Member

  • Add database integration with program lookup by ID and title
  • Implement full program type detection and validation (XDP, TC, Tracepoint, SocketFilter, Kprobe, Uprobe, LSM)
  • Add program type-specific detachment logic using appropriate kernel tools
  • Implement kernel verification to ensure programs are actually detached
  • Update command line arguments to match load command structure
  • Maintain backward compatibility with existing state file functionality

This brings the unload command to feature parity with the load command, providing complete eBPF program management capabilities.

- Add database integration with program lookup by ID and title
- Implement full program type detection and validation (XDP, TC, Tracepoint, SocketFilter, Kprobe, Uprobe, LSM)
- Add program type-specific detachment logic using appropriate kernel tools
- Implement kernel verification to ensure programs are actually detached
- Add comprehensive error handling and logging similar to load command
- Update command line arguments to match load command structure
- Convert to async function and update main command handler
- Maintain backward compatibility with existing state file functionality

This brings the unload command to feature parity with the load command,
providing complete eBPF program management capabilities.
@maheshbhatiya73 maheshbhatiya73 merged commit 8d3f88c into main Sep 12, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants