syscall.sh / hexagon / ioctl

ioctl

control device

sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg)
number29 (0x1d)
abicommon
entry pointsys_ioctl
sinceLinux 3.7
man pageioctl(2)
sourceelixir.bootlin.com

Registers

registervalue
r629, the syscall number
r0unsigned int fd
r1unsigned int cmd
r2unsigned long arg
r0the return value

Then run trap0(#1) to enter the kernel.

Same syscall on other architectures

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