diff options
-rw-r--r-- | term/ptyio.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/term/ptyio.c b/term/ptyio.c index c449c32a..697cd289 100644 --- a/term/ptyio.c +++ b/term/ptyio.c @@ -338,7 +338,8 @@ pty_io_readable (int *amt) /* Validation has already been done by trivfs_S_io_select. */ error_t -pty_io_select (int *type, +pty_io_select (struct trivfs_protid *cred, + int *type, int *idtag) { int avail = 0; @@ -348,6 +349,8 @@ pty_io_select (int *type, mutex_lock (&global_lock); + /* Validate CRED. XXX */ + while (1) { if ((*type & SELECT_READ) && (control_byte || qsize (outputq))) |