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

libbpf-rs/link.rs: Add Link::disconnect() #104

Merged
merged 1 commit into from
Jun 2, 2021

Conversation

willfindlay
Copy link
Contributor

Add the ability to "disconnect" a BPF Link to prevent the underlying program from being detached when the Link is dropped.

@danobi
Copy link
Member

danobi commented Jun 1, 2021

Seems reasonable to me. I'm not very familiar with this API though so I'll defer to @anakryiko

Copy link
Member

@anakryiko anakryiko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@danobi danobi merged commit a506a09 into libbpf:master Jun 2, 2021
@willfindlay willfindlay deleted the link-updates branch June 2, 2021 23:36
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.

3 participants