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 seccomp system call filter #49

Merged
merged 5 commits into from
Oct 9, 2023
Merged

Add seccomp system call filter #49

merged 5 commits into from
Oct 9, 2023

Conversation

cd-work
Copy link
Collaborator

@cd-work cd-work commented Oct 6, 2023

This adds back the seccomp filter, but focusing on potentially hazardous system calls rather than filtering network access.

The filter itself is almost identical to Docker's seccomp filter, with the exception of focusing only on the system calls allowed without privileges, while Docker allows additional system calls with appropriate capabilities present.

Closes #48.

This adds back the seccomp filter, but focusing on potentially hazardous
system calls rather than filtering network access.

The filter itself is almost identical to Docker's seccomp filter, with
the exception of focusing only on the system calls allowed without
privileges, while Docker allows additional system calls with appropriate
capabilities present.

Closes #48.
tests/seccomp.rs Outdated Show resolved Hide resolved
tests/seccomp.rs Show resolved Hide resolved
@cd-work cd-work requested a review from kylewillmon October 6, 2023 21:31
@cd-work cd-work requested a review from kylewillmon October 9, 2023 14:03
@cd-work cd-work merged commit 89e855a into main Oct 9, 2023
9 checks passed
@cd-work cd-work deleted the syscall_filter branch October 9, 2023 15:43
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.

Add general-purpose seccomp syscall filter
2 participants