syscall.sh / sparc / readlink

readlink

read value of a symbolic link

sys_readlink(const char *path, char *buf, int bufsiz)
number58 (0x3a)
abicommon
entry pointsys_readlink
sinceLinux 5.0
man pagereadlink(2)
sourceelixir.bootlin.com

Registers

registervalue
g158, the syscall number
o0const char *path
o1char *buf
o2int bufsiz
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/readlink