-
Notifications
You must be signed in to change notification settings - Fork 18.7k
seccomp: allow 'rseq' syscall in default seccomp profile #41158
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
Conversation
8141fef
to
ed8836d
Compare
@justincormack PTAL |
Restartable Sequences (rseq) are a kernel-based mechanism for fast update operations on per-core data in user-space. Some libraries, like the newest version of Google's TCMalloc, depend on it [1]. This also makes dockers default seccomp profile on par with systemd's, which enabled 'rseq' in early 2019 [2]. 1: https://google.github.io/tcmalloc/design.html 2: systemd/systemd@6fee3be Signed-off-by: Florian Schmaus <flo@geekplace.eu>
ed8836d
to
d0d99b0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
(chatted with @justincormack, and he was ok with adding this)
@Flowdalic you'll likely want this in the containerd seccomp profile as well; https://github.com/containerd/containerd/tree/master/contrib/seccomp. Let me know if you want to open a PR there, or want me to open one |
@thaJeztah Thanks for pointing this out. I've created containerd/containerd#4347 |
Restartable Sequences (rseq) are a kernel-based mechanism for fast
update operations on per-core data in user-space. Some libraries, like
the newest version of Google's TCMalloc, depend on it [1].
This also makes dockers default seccomp profile on par with systemd's,
which enabled 'rseq' in early 2019 [2].
1: https://google.github.io/tcmalloc/design.html
2: systemd/systemd@6fee3be