kernel: Set the initial foreground process group when acquiring a controlling terminal

This commit is contained in:
apio 2023-11-25 12:18:04 +01:00
parent 99dc819bca
commit 3a5924be64
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -99,6 +99,7 @@ Result<u64> SlavePTY::ioctl(int request, void* arg)
});
m_master->m_session = current->sid;
m_master->m_foreground_process_group = current->pgid;
return 0;
}