tty: Fix kcon & tty implementation; Add stub ptmx

This commit is contained in:
EnderIce2
2024-10-13 13:00:22 +03:00
parent f48032658f
commit 396ad681ba
18 changed files with 895 additions and 404 deletions

View File

@ -157,6 +157,10 @@ namespace Execute
return false;
};
fixme("remove workarounds for stdio and tty");
if (!Parent->tty)
Process->tty = KernelConsole::CurrentTerminal.load();
if (!ForkStdio(Parent->stdin))
fdt->usr_open("/dev/kcon", O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);