syscall.sh / sh / unlinkat

unlinkat

delete a name and possibly the file it refers to

sys_unlinkat(int dfd, const char *pathname, int flag)
number301 (0x12d)
abicommon
entry pointsys_unlinkat
sinceLinux 5.0
man pageunlinkat(2)
sourceelixir.bootlin.com

Registers

registervalue
r3301, the syscall number
r4int dfd
r5const char *pathname
r6int flag
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/unlinkat