Skip to content

Seccomp filter handling #282

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

Open
Jisu-Woniu opened this issue Apr 3, 2025 · 0 comments
Open

Seccomp filter handling #282

Jisu-Woniu opened this issue Apr 3, 2025 · 0 comments

Comments

@Jisu-Woniu
Copy link
Member

In commit ecc839d, we introduced a seccomp filter config. However, how to use this file remains undecided.

There are two optional ways to handle this filter config:

  1. Parse the file during compilation, thus hard-coding the processing logic for each system call.
  2. Parse the file during runtime, allow end-users to change the logic without compilation.

Going with 2 seems promising, but it comes with performance penalty. It also makes it much more difficult for the dynamic handling of string syscall args, like pathname of openat.

What are your opinions?

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

No branches or pull requests

1 participant