syscall.sh / loongarch64 / 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 5.19
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 syscall 0 to enter the kernel.

Same syscall on other architectures

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