syscall.sh / parisc / sethostname

sethostname

get/set hostname

sys_sethostname(char *name, int len)
number74 (0x4a)
abicommon
entry pointsys_sethostname
sinceLinux 5.0
man pagesethostname(2)
sourceelixir.bootlin.com

Registers

registervalue
r2074, the syscall number
r26char *name
r25int len
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/sethostname