Kernel: Make the serial port writable for everyone :)

This commit is contained in:
apio 2022-11-03 17:13:32 +01:00
parent 979569eb5a
commit 71633e264f

View File

@ -16,7 +16,7 @@ VFS::Node* SerialDevice::create_new(const char* devname)
dev->type = VFS_DEVICE; dev->type = VFS_DEVICE;
dev->flags = 0; dev->flags = 0;
dev->uid = dev->gid = 0; dev->uid = dev->gid = 0;
dev->mode = 0200; dev->mode = 0222;
dev->atime = dev->ctime = dev->mtime = clock_boot(); dev->atime = dev->ctime = dev->mtime = clock_boot();
strncpy(dev->name, devname, sizeof(dev->name)); strncpy(dev->name, devname, sizeof(dev->name));
return dev; return dev;