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

API: Add BPF capabilities utility #39

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

API: Add BPF capabilities utility #39

wants to merge 1 commit into from

Conversation

jpsamaroo
Copy link
Owner

This makes it possible to use privileged BPF features without running as root, assuming Julia's executable file or process has the appropriate capabilities.

Todo:

  • Add bpf-exec utility to contrib/
  • Attempt to set capabilities automatically during tests
  • Check for appropriate capabilities in CI root tests
  • Add CAP_NET_ADMIN
  • Use CBinding to get constants and functions

@codecov-commenter
Copy link

Codecov Report

Base: 0.00% // Head: 0.00% // No change to project coverage 👍

Coverage data is based on head (6a30ed7) compared to base (89e9e6b).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@          Coverage Diff           @@
##           master     #39   +/-   ##
======================================
  Coverage    0.00%   0.00%           
======================================
  Files          20      21    +1     
  Lines        1023    1030    +7     
======================================
- Misses       1023    1030    +7     
Impacted Files Coverage Δ
src/BPFnative.jl 0.00% <ø> (ø)
src/libcap.jl 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants