syscall.sh / x64 / 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)
number322 (0x142)
abi64
entry pointsys_execveat
sinceLinux 3.19
man pageexecveat(2)
sourceelixir.bootlin.com

Registers

registervalue
rax322, the syscall number
rdiint dfd
rsiconst char *filename
rdxconst char *const *argv
r10const char *const *envp
r8int flags
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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