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

Implement Sync for Link #1044

Merged
merged 1 commit into from
Dec 19, 2024
Merged

Implement Sync for Link #1044

merged 1 commit into from
Dec 19, 2024

Conversation

danielocfb
Copy link
Collaborator

Implement Sync for Link. The only operations that can be performed on a &Link are pin_path() and detach(), neither of which modify the object. pin_path() just reads an attribute and detach() performs a system call with the link's file descriptor. Hence, Sync should be fine to implement for Link.

Implement Sync for Link. The only operations that can be performed on a
&Link are pin_path() and detach(), neither of which modify the object.
pin_path() just reads an attribute and detach() performs a system call
with the link's file descriptor. Hence, Sync should be fine to implement
for Link.

Signed-off-by: Daniel Müller <[email protected]>
@danielocfb danielocfb merged commit f05c822 into libbpf:master Dec 19, 2024
11 of 13 checks passed
@danielocfb danielocfb deleted the topic/sync-link branch December 19, 2024 22:20
danielocfb pushed a commit that referenced this pull request Dec 19, 2024
Pull request #1044 wrongfully added the new CHANGELOG item to the
section for the already released 0.25.0-beta.1. Fix that.

Signed-off-by: Daniel Müller <[email protected]>
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