Kernel: Make the serial port writable for everyone :)
This commit is contained in:
parent
979569eb5a
commit
71633e264f
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user