mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-28 15:34:31 +00:00
fix(kernel): update device file references from 'kcon' to 'console'
Feels more right to be 'console'. Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
parent
022d99f795
commit
b74d4db23b
@ -156,7 +156,7 @@ namespace Driver::TeleTypeDevices
|
|||||||
S_IRGRP |
|
S_IRGRP |
|
||||||
|
|
||||||
S_IFCHR;
|
S_IFCHR;
|
||||||
ids.kcon = DriverManager->CreateDeviceFile(DriverID, "kcon", mode, &ops);
|
ids.kcon = DriverManager->CreateDeviceFile(DriverID, "console", mode, &ops);
|
||||||
|
|
||||||
/* c rw- rw- rw- */
|
/* c rw- rw- rw- */
|
||||||
mode = S_IRUSR | S_IWUSR |
|
mode = S_IRUSR | S_IWUSR |
|
||||||
|
@ -173,13 +173,13 @@ namespace Execute
|
|||||||
Process->tty = KernelConsole::CurrentTerminal.load();
|
Process->tty = KernelConsole::CurrentTerminal.load();
|
||||||
|
|
||||||
if (!ForkStdio(Parent->stdin))
|
if (!ForkStdio(Parent->stdin))
|
||||||
fdt->usr_open("/dev/kcon", O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);
|
fdt->usr_open("/dev/console", O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);
|
||||||
|
|
||||||
if (!ForkStdio(Parent->stdout))
|
if (!ForkStdio(Parent->stdout))
|
||||||
fdt->usr_open("/dev/kcon", O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);
|
fdt->usr_open("/dev/console", O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);
|
||||||
|
|
||||||
if (!ForkStdio(Parent->stderr))
|
if (!ForkStdio(Parent->stderr))
|
||||||
fdt->usr_open("/dev/kcon", O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);
|
fdt->usr_open("/dev/console", O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);
|
||||||
|
|
||||||
TCB *Thread = nullptr;
|
TCB *Thread = nullptr;
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user