mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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: 6fee3be0b4
Signed-off-by: Florian Schmaus <flo@geekplace.eu>
This commit is contained in:
parent
07cea2edf0
commit
d0d99b04cf
2 changed files with 2 additions and 0 deletions
|
@ -262,6 +262,7 @@
|
||||||
"renameat2",
|
"renameat2",
|
||||||
"restart_syscall",
|
"restart_syscall",
|
||||||
"rmdir",
|
"rmdir",
|
||||||
|
"rseq",
|
||||||
"rt_sigaction",
|
"rt_sigaction",
|
||||||
"rt_sigpending",
|
"rt_sigpending",
|
||||||
"rt_sigprocmask",
|
"rt_sigprocmask",
|
||||||
|
|
|
@ -255,6 +255,7 @@ func DefaultProfile() *types.Seccomp {
|
||||||
"renameat2",
|
"renameat2",
|
||||||
"restart_syscall",
|
"restart_syscall",
|
||||||
"rmdir",
|
"rmdir",
|
||||||
|
"rseq",
|
||||||
"rt_sigaction",
|
"rt_sigaction",
|
||||||
"rt_sigpending",
|
"rt_sigpending",
|
||||||
"rt_sigprocmask",
|
"rt_sigprocmask",
|
||||||
|
|
Loading…
Reference in a new issue