syscall.sh / parisc / getcwd

getcwd

get current working directory

sys_getcwd(char *buf, unsigned long size)
number110 (0x6e)
abicommon
entry pointsys_getcwd
sinceLinux 5.0
man pagegetcwd(2)
sourceelixir.bootlin.com

Registers

registervalue
r20110, the syscall number
r26char *buf
r25unsigned long size
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/getcwd