syscall.sh / x86 / unlink

unlink

delete a name and possibly the file it refers to

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

Registers

registervalue
eax10, the syscall number
ebxconst char *pathname
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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