syscalls: make execve and vfs_read_file_by_path use follow_path, fix vfs_read_file_by_path name, fix execve-related pagefault

This commit is contained in:
2025-10-07 23:41:55 +03:00
parent 8c26f54d28
commit 88c1936e83
5 changed files with 11 additions and 14 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ int main() {
// The first argument is the path to the executable
// The second is the array of arguments
// The third is the array of environment variables
execve("callee.", argv, envp);
execve("/katau/callee.", argv, envp);
// This part of the code will only be reached if execve fails
perror("execve failed");