syscall.sh / riscv64 / execveat

execveat

execute program relative to a directory file descriptor

sys_execveat(int dfd, const char *filename, const char *const *argv, const char *const *envp, int flags)
number281 (0x119)
abicommon
entry pointsys_execveat
sinceLinux 4.15
man pageexecveat(2)
sourceelixir.bootlin.com

Registers

registervalue
a7281, the syscall number
a0int dfd
a1const char *filename
a2const char *const *argv
a3const char *const *envp
a4int flags
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/execveat