Skip to content

Commit 39052fa

Browse files
FlowdalicthaJeztah
authored andcommitted
seccomp: allow 'rseq' syscall in default seccomp profile
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 <[email protected]> (cherry picked from commit e977564) Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent a3a385c commit 39052fa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

contrib/seccomp/seccomp_default.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ func DefaultProfile(sp *specs.Spec) *specs.LinuxSeccomp {
257257
"renameat2",
258258
"restart_syscall",
259259
"rmdir",
260+
"rseq",
260261
"rt_sigaction",
261262
"rt_sigpending",
262263
"rt_sigprocmask",

0 commit comments

Comments
 (0)