aya-rs / aya

Aya is an eBPF library for the Rust programming language, built with a focus on developer experience and operability.
https://aya-rs.dev/book/
Apache License 2.0
3.25k stars 290 forks source link

LSM cgroup attachment type support #1041

Open altugbozkurt07 opened 2 months ago

altugbozkurt07 commented 2 months ago

Hi,

I have followed up on the work from this PR, which has been more than 2 years since the initial commit for lsm_cgroup support created,

so i basically re-implemented it so it would be using the latest aya infrastructure and we will have a single LSM program type that would support both attachment types, instead of creating a different program type for each attachment type. I thought this would make it more consistent with the relevant BPF API provided by the OS.

@vadorovsky @dave-tucker i would really appreciate your review on this, and let me know if there is anything needs to be done before merging this into upstream.


This change is Reviewable

netlify[bot] commented 2 months ago

Deploy Preview for aya-rs-docs ready!

Built without sensitive environment variables

Name Link
Latest commit 441162531f691abed9aabb4630d17404edb4b439
Latest deploy log https://app.netlify.com/sites/aya-rs-docs/deploys/66f5bad3089fac0008651153
Deploy Preview https://deploy-preview-1041--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 configuration.

mergify[bot] commented 1 day ago

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