syscall.sh / ppc64 / 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
r039, the syscall number
r3const char *pathname
r4umode_t mode
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc64/mkdir