syscall.sh / nios2 / linkat

linkat

make a new name for a file

sys_linkat(int olddfd, const char *oldname, int newdfd, const char *newname, int flags)
number37 (0x25)
abicommon
entry pointsys_linkat
sinceLinux 3.19
man pagelinkat(2)
sourceelixir.bootlin.com

Registers

registervalue
r237, the syscall number
r4int olddfd
r5const char *oldname
r6int newdfd
r7const char *newname
r8int flags
r2the return value

Then run trap to enter the kernel.

Same syscall on other architectures

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