mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +00:00
Kernel: Fix incorrect EFAULTs when syscall would write into COW pages.
This commit is contained in:
parent
a4a106a430
commit
11b73c38d8
4 changed files with 38 additions and 32 deletions
|
@ -90,7 +90,7 @@ int main(int, char**)
|
|||
}
|
||||
|
||||
if (FD_ISSET(ptm_fd, &rfds)) {
|
||||
byte buffer[1024];
|
||||
byte buffer[4096];
|
||||
ssize_t nread = read(ptm_fd, buffer, sizeof(buffer));
|
||||
if (nread < 0) {
|
||||
dbgprintf("Terminal read error: %s\n", strerror(errno));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue