Skip to content

Added ebps support(based on runc implementation)#116

Merged
estesp merged 6 commits intocontainerd:masterfrom
Zyqsempai:104-add-bpf-device
Nov 15, 2019
Merged

Added ebps support(based on runc implementation)#116
estesp merged 6 commits intocontainerd:masterfrom
Zyqsempai:104-add-bpf-device

Conversation

@Zyqsempai
Copy link
Contributor

Partially Fixes #104
Added eBPS support(based on @AkihiroSuda implementation for runc)
Signed-off-by: bpopovschi [email protected]

@Zyqsempai
Copy link
Contributor Author

@AkihiroSuda Do we need allowed devices list here?

@AkihiroSuda
Copy link
Member

AkihiroSuda commented Nov 13, 2019

The current eBPF code already supports allowing specific devices

@codecov-io
Copy link

codecov-io commented Nov 14, 2019

Codecov Report

Merging #116 into master will increase coverage by 1.1%.
The diff coverage is 53.14%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #116     +/-   ##
=========================================
+ Coverage   35.46%   36.56%   +1.1%     
=========================================
  Files          32       34      +2     
  Lines        2154     2297    +143     
=========================================
+ Hits          764      840     +76     
- Misses       1262     1324     +62     
- Partials      128      133      +5
Impacted Files Coverage Δ
v2/manager.go 0% <0%> (ø) ⬆️
v2/ebpf.go 0% <0%> (ø)
v2/devicefilter.go 79.16% <79.16%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update daf5261...dea9e11. Read the comment docs.

@Zyqsempai
Copy link
Contributor Author

@AkihiroSuda @crosbymichael PTAL

@AkihiroSuda
Copy link
Member

@crosbymichael
Copy link
Member

Can you rebase this one as well?

@Zyqsempai
Copy link
Contributor Author

@crosbymichael Done

@crosbymichael
Copy link
Member

rebase:)

Signed-off-by: bpopovschi <[email protected]>
Signed-off-by: bpopovschi <[email protected]>
Signed-off-by: bpopovschi <[email protected]>
Signed-off-by: bpopovschi <[email protected]>
@Zyqsempai
Copy link
Contributor Author

@crosbymichael Done

@crosbymichael
Copy link
Member

LGTM

Copy link
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

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

LGTM

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.

cgroup2: check list for v2 controller implementations

5 participants