syscall.sh / sh / 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)
number376 (0x178)
abicommon
entry pointsys_execveat
sinceLinux 5.0
man pageexecveat(2)
sourceelixir.bootlin.com

Registers

registervalue
r3376, the syscall number
r4int dfd
r5const char *filename
r6const char *const *argv
r7const char *const *envp
r0int flags
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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