syscall.sh / sparc / linkat

linkat

make a new name for a file

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

Registers

registervalue
g1292, the syscall number
o0int olddfd
o1const char *oldname
o2int newdfd
o3const char *newname
o4int flags
o0the return value

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

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