syscall.sh / parisc / mkdir

mkdir

create a directory

sys_mkdir(const char *pathname, umode_t mode)
number39 (0x27)
abicommon
entry pointsys_mkdir
sinceLinux 5.0
man pagemkdir(2)
sourceelixir.bootlin.com

Registers

registervalue
r2039, the syscall number
r26const char *pathname
r25umode_t mode
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/mkdir