mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
seccomp: add futex_wake syscall (kernel v6.7, libseccomp v2.5.5)
Add this syscall to match the profile in containerd containerd:a6e52c74falibseccomp:53267af3fbkernel:9f6c532f59futex: Add sys_futex_wake() To complement sys_futex_waitv() add sys_futex_wake(). This syscall implements what was previously known as FUTEX_WAKE_BITSET except it uses 'unsigned long' for the bitmask and takes FUTEX2 flags. The 'unsigned long' allows FUTEX2_SIZE_U64 on 64bit platforms. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commitd69729e053) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -136,6 +136,7 @@
|
||||
"futex_time64",
|
||||
"futex_wait",
|
||||
"futex_waitv",
|
||||
"futex_wake",
|
||||
"futimesat",
|
||||
"getcpu",
|
||||
"getcwd",
|
||||
|
||||
@@ -128,6 +128,7 @@ func DefaultProfile() *Seccomp {
|
||||
"futex_time64",
|
||||
"futex_wait", // kernel v6.7, libseccomp v2.5.5
|
||||
"futex_waitv",
|
||||
"futex_wake", // kernel v6.7, libseccomp v2.5.5
|
||||
"futimesat",
|
||||
"getcpu",
|
||||
"getcwd",
|
||||
|
||||
Reference in New Issue
Block a user