Skip to content

aya-ebpf: add safety documentation for SockMap methods#1486

Open
jundorok wants to merge 1 commit into
aya-rs:mainfrom
jundorok:add-sockmap-safety-docs
Open

aya-ebpf: add safety documentation for SockMap methods#1486
jundorok wants to merge 1 commit into
aya-rs:mainfrom
jundorok:add-sockmap-safety-docs

Conversation

@jundorok

@jundorok jundorok commented Feb 25, 2026

Copy link
Copy Markdown

Summary

  • Add # Safety doc sections to the three unsafe methods on SockMap (update, redirect_msg, redirect_skb)
  • Remove #[expect(clippy::missing_safety_doc, reason = "TODO")] attributes

Test plan

  • cargo check -p aya-ebpf passes
  • cargo clippy -p aya-ebpf passes with no missing_safety_doc warnings

This change is Reviewable

Add `# Safety` doc sections to the three unsafe methods on `SockMap`
(`update`, `redirect_msg`, `redirect_skb`) and
remove the `#[expect(clippy::missing_safety_doc, reason = "TODO")]` attributes.
@netlify

netlify Bot commented Feb 25, 2026

Copy link
Copy Markdown

Deploy Preview for aya-rs-docs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 6f673c3
🔍 Latest deploy log https://app.netlify.com/projects/aya-rs-docs/deploys/699e73d6a738f4000898c6bf
😎 Deploy Preview https://deploy-preview-1486--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 project configuration.

@jundorok

Copy link
Copy Markdown
Author

Hello @tamird
I am not sure if this CI failure is related to my change :)
CI failure appears to be an infrastructure issue with bpf-linker not finding LLVM libraries

@tamird

tamird commented Apr 13, 2026

Copy link
Copy Markdown
Member

@jundorok I think rebasing should fix the failures. Apologies for the delay in getting back to you!

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