syscall.sh / s390x / ioctl

ioctl

control device

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

Registers

registervalue
r154, the syscall number
r2unsigned int fd
r3unsigned int cmd
r4unsigned long arg
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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