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

aya: add a safe wrapper for 'BPF_TASK_FD_QUERY' logic #492

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

lucab
Copy link

@lucab lucab commented Jan 17, 2023

This add bindings for the bpf_task_fd_type FFI type, and then add a safe wrapper for the BPF_TASK_FD_QUERY logic.


This change is Reviewable

@netlify
Copy link

netlify bot commented Jan 17, 2023

Deploy Preview for aya-rs-docs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 8ded21e
🔍 Latest deploy log https://app.netlify.com/sites/aya-rs-docs/deploys/63d10210d69c0700081c49de
😎 Deploy Preview https://deploy-preview-492--aya-rs-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@lucab
Copy link
Author

lucab commented Jan 17, 2023

CI is failing because of #490.

lucab added 3 commits January 25, 2023 10:18
This enables code generation for `bpf_task_fd_type`, and it also
sorts nearby entries to ease future changes.
This regenerates `aya-obj` code to pick up changes related to
`bpf_task_fd_type`.
This wraps the logic for `BPF_TASK_FD_QUERY` in a safe helper.
@lucab lucab force-pushed the ups/query-task-fd branch from 587d04a to 8ded21e Compare January 25, 2023 10:18
@lucab
Copy link
Author

lucab commented Jan 25, 2023

Rebased on main, CI is now green.

@alessandrod alessandrod self-requested a review January 26, 2023 11:20
@dave-tucker dave-tucker added aya This is about aya (userspace) api/needs-review Makes an API change that needs review feature A PR that implements a new feature or enhancement labels Feb 23, 2023
@mergify mergify bot added aya-obj Relating to the aya-obj crate test A PR that improves test cases or CI labels Sep 14, 2023
@mergify
Copy link

mergify bot commented Sep 14, 2023

@lucab, this pull request is now in conflict and requires a rebase.

@mergify mergify bot added the needs-rebase label Sep 14, 2023
Copy link

mergify bot commented Feb 6, 2024

@lucab, this pull request is now in conflict and requires a rebase.

@mergify mergify bot removed the needs-rebase label Jan 1, 2025
Copy link

mergify bot commented Jan 1, 2025

@lucab, this pull request is now in conflict and requires a rebase.

@mergify mergify bot added the needs-rebase label Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api/needs-review Makes an API change that needs review aya This is about aya (userspace) aya-obj Relating to the aya-obj crate feature A PR that implements a new feature or enhancement needs-rebase test A PR that improves test cases or CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants