seccomp: add futex_wait syscall (kernel v6.7, libseccomp v2.5.5)
Add this syscall to match the profile in containerd containerd:a6e52c74fa
libseccomp:53267af3fb
kernel:cb8c4312af
futex: Add sys_futex_wait() To complement sys_futex_waitv()/wake(), add sys_futex_wait(). This syscall implements what was previously known as FUTEX_WAIT_BITSET except it uses 'unsigned long' for the value and bitmask arguments, takes timespec and clockid_t arguments for the absolute timeout and uses FUTEX2 flags. The 'unsigned long' allows FUTEX2_SIZE_U64 on 64bit platforms. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit10d344d176
) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
4cc0416534
commit
74e3b4fb2e
2 changed files with 2 additions and 0 deletions
|
@ -134,6 +134,7 @@
|
|||
"futex",
|
||||
"futex_requeue",
|
||||
"futex_time64",
|
||||
"futex_wait",
|
||||
"futex_waitv",
|
||||
"futimesat",
|
||||
"getcpu",
|
||||
|
|
|
@ -126,6 +126,7 @@ func DefaultProfile() *Seccomp {
|
|||
"futex",
|
||||
"futex_requeue", // kernel v6.7, libseccomp v2.5.5
|
||||
"futex_time64",
|
||||
"futex_wait", // kernel v6.7, libseccomp v2.5.5
|
||||
"futex_waitv",
|
||||
"futimesat",
|
||||
"getcpu",
|
||||
|
|
Loading…
Reference in a new issue