Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce ProgramHandle abstraction #920

Open
danielocfb opened this issue Aug 22, 2024 · 1 comment
Open

Introduce ProgramHandle abstraction #920

danielocfb opened this issue Aug 22, 2024 · 1 comment
Labels
help wanted Extra attention is needed rust Pull requests that update Rust code

Comments

@danielocfb
Copy link
Collaborator

We should think about introducing a ProgramHandle type, similar to what we have with MapHandle. We seem to have a bunch of somewhat confusing APIs that work on file descriptors, when really I think they should be abstracted behind such a type.

@danielocfb danielocfb added help wanted Extra attention is needed rust Pull requests that update Rust code labels Aug 22, 2024
@danielocfb
Copy link
Collaborator Author

While at it, let's also think about https://docs.rs/libbpf-rs/latest/libbpf_rs/struct.MapInfo.html and whether we want a ProgramInfo similar to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed rust Pull requests that update Rust code
Projects
None yet
Development

No branches or pull requests

1 participant