syscall.sh / mipsn32 / sethostname

sethostname

get/set hostname

sys_sethostname(char *name, int len)
number6165 (0x1815)
abin32
entry pointsys_sethostname
sinceLinux 5.0
man pagesethostname(2)
sourceelixir.bootlin.com

Registers

registervalue
v06165, the syscall number
a0char *name
a1int len
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/mipsn32/sethostname