syscall.sh / parisc / ioctl

ioctl

control device

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

Registers

registervalue
r2054, the syscall number
r26unsigned int fd
r25unsigned int cmd
r24unsigned long arg
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

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