syscall.sh / s390x / rmdir

rmdir

delete a directory

sys_rmdir(const char *pathname)
number40 (0x28)
abicommon
entry pointsys_rmdir
sinceLinux 4.16
man pagermdir(2)
sourceelixir.bootlin.com

Registers

registervalue
r140, the syscall number
r2const char *pathname
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/s390x/rmdir