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

test: add containerd seccomp default profile for golden profile test data #5230

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions e2e/containerd/seccomp_default_profile/arch/amd64.json
Copy link
Contributor

Choose a reason for hiding this comment

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

This feels unnecessary deep. I would put it in testdata/seccomp_profile_amd64.json

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"syscalls": [{
"names": [
"arch_prctl",
"modify_ldt"
],
"action": "SCMP_ACT_ALLOW"
}]
}
13 changes: 13 additions & 0 deletions e2e/containerd/seccomp_default_profile/arch/arm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"syscalls": [{
"names": [
"arm_fadvise64_64",
"arm_sync_file_range",
"sync_file_range2",
"breakpoint",
"cacheflush",
"set_tls"
],
"action": "SCMP_ACT_ALLOW"
}]
}
Loading
Loading