syscall.sh / x86 / ioctl

ioctl

control device

sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg)
number54 (0x36)
abii386
entry pointsys_ioctl
sinceLinux 3.3
man pageioctl(2)
sourceelixir.bootlin.com

Registers

registervalue
eax54, the syscall number
ebxunsigned int fd
ecxunsigned int cmd
edxunsigned long arg
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/ioctl