mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 21:47:43 +00:00
Improve syscall address validation a bit.
This commit is contained in:
parent
084287ca45
commit
8a286b9244
3 changed files with 72 additions and 74 deletions
|
@ -21,6 +21,8 @@ int tcsetattr(int fd, int optional_actions, const struct termios* t)
|
|||
case TCSAFLUSH:
|
||||
return ioctl(fd, TCSETSF, t);
|
||||
}
|
||||
errno = EINVAL;
|
||||
return -1;
|
||||
}
|
||||
|
||||
int tcflow(int fd, int action)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue