syscall.sh / parisc / rmdir

rmdir

delete a directory

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

Registers

registervalue
r2040, the syscall number
r26const char *pathname
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/rmdir