syscall.sh / ppc64 / mkdirat

mkdirat

create a directory

sys_mkdirat(int dfd, const char *pathname, umode_t mode)
number287 (0x11f)
abicommon
entry pointsys_mkdirat
sinceLinux 5.0
man pagemkdirat(2)
sourceelixir.bootlin.com

Registers

registervalue
r0287, the syscall number
r3int dfd
r4const char *pathname
r5umode_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/mkdirat