1
Fork 0
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:
Andreas Kling 2018-11-16 16:10:59 +01:00
parent 084287ca45
commit 8a286b9244
3 changed files with 72 additions and 74 deletions

View file

@ -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)