Skip to content

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

Merged
merged 1 commit into from
Jun 26, 2020

Conversation

Flowdalic
Copy link
Contributor

@Flowdalic Flowdalic commented Jun 26, 2020

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

@thaJeztah
Copy link
Member

@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>
@Flowdalic Flowdalic force-pushed the allow-rseq-seccomp branch from ed8836d to d0d99b0 Compare June 26, 2020 14:06
Copy link
Member

@thaJeztah thaJeztah left a 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)

@thaJeztah thaJeztah added this to the 20.03.0 milestone Jun 26, 2020
@thaJeztah
Copy link
Member

@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

@Flowdalic
Copy link
Contributor Author

@thaJeztah Thanks for pointing this out. I've created containerd/containerd#4347

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants