syscall.sh / sh / unlink

unlink

delete a name and possibly the file it refers to

sys_unlink(const char *pathname)
number10 (0xa)
abicommon
entry pointsys_unlink
sinceLinux 5.0
man pageunlink(2)
sourceelixir.bootlin.com

Registers

registervalue
r310, the syscall number
r4const char *pathname
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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