kernel: Copy process name on fork()
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0f678f845c
commit
b22bea84ec
@ -119,6 +119,7 @@ Result<u64> 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]; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user