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

Add support for BPF_PROG_TYPE_CGROUP_SYSCTL #256

Merged
merged 3 commits into from May 17, 2022

Conversation

nak3
Copy link
Contributor

@nak3 nak3 commented May 14, 2022

This patch adds support for BPF_PROG_TYPE_CGROUP_SYSCTL.

close #217

This patch adds support for `BPF_PROG_TYPE_CGROUP_SYSCTL`.
@nak3
Copy link
Contributor Author

nak3 commented May 14, 2022

https://github.com/nak3/aya-showcase/tree/main/cgroup-sysctl is the demonstration for this PR.

@alessandrod alessandrod self-requested a review May 14, 2022 10:35
aya/src/obj/mod.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@alessandrod alessandrod left a comment

Choose a reason for hiding this comment

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

Thanks a lot, looks great! Just a couple of doc nits.

aya/src/programs/cgroup_sysctl.rs Outdated Show resolved Hide resolved
aya/src/programs/cgroup_sysctl.rs Outdated Show resolved Hide resolved
aya/src/programs/cgroup_sysctl.rs Outdated Show resolved Hide resolved
@nak3
Copy link
Contributor Author

nak3 commented May 17, 2022

Thank you! Updated.

@alessandrod alessandrod merged commit f721021 into aya-rs:main May 17, 2022
fasterthanlime pushed a commit to fasterthanlime/aya that referenced this pull request May 20, 2022
* Add support for BPF_PROG_TYPE_CGROUP_SYSCTL

This patch adds support for `BPF_PROG_TYPE_CGROUP_SYSCTL`.

* Parse unnamed macro

* Fix docs
@dave-tucker dave-tucker added feature A PR that implements a new feature or enhancement aya-bpf This is about aya-bpf (kernel) aya This is about aya (userspace) labels May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aya This is about aya (userspace) aya-bpf This is about aya-bpf (kernel) feature A PR that implements a new feature or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for BPF_PROG_TYPE_CGROUP_SYSCTL
4 participants