elf: add AT_EXECFN

This commit is contained in:
Qwinci
2025-01-13 16:15:08 +02:00
parent 75a24d3026
commit ae2f69d3b8
4 changed files with 15 additions and 6 deletions
+1 -1
View File
@@ -258,7 +258,7 @@ static syscallret_t execve(context_t *context, char *upath, char *uargv[], char
VOP_RELEASE(interpnode);
}
stack = elf_preparestack(STACK_TOP, &auxv64, argv, envp);
stack = elf_preparestack(STACK_TOP, &auxv64, argv, envp, path);
if (stack == NULL) {
ret.errno = ENOMEM;
goto error;