syscall.sh / x86 / 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)
abii386
entry pointsys_futex_time32
sinceLinux 3.3
man pagefutex(2)
sourceelixir.bootlin.com

Registers

registervalue
eax240, the syscall number
ebxu32 *uaddr
ecxint op
edxu32 val
esiconst struct old_timespec32 *utime
ediu32 *uaddr2
ebpu32 val3
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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