syscall.sh / sh / futex

futex

fast user-space locking

sys_futex_time32(u32 *uaddr, int op, u32 val, const struct old_timespec32 *utime, u32 *uaddr2, u32 val3)
number240 (0xf0)
abicommon
entry pointsys_futex_time32
sinceLinux 5.0
man pagefutex(2)
sourceelixir.bootlin.com

Registers

registervalue
r3240, the syscall number
r4u32 *uaddr
r5int op
r6u32 val
r7const struct old_timespec32 *utime
r0u32 *uaddr2
r1u32 val3
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/sh/futex