diff --git a/kernel/src/sys/exec.cpp b/kernel/src/sys/exec.cpp index 1a766570..d0e52ba4 100644 --- a/kernel/src/sys/exec.cpp +++ b/kernel/src/sys/exec.cpp @@ -119,6 +119,7 @@ Result sys_fork(Registers* regs, SyscallArgs) thread->is_kernel = false; thread->parent_id = current->id; thread->fp_data.save(); + thread->name = current->name; for (int i = 0; i < FD_MAX; i++) { thread->fd_table[i] = current->fd_table[i]; }