diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-12-05 02:14:23 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-12-05 02:14:23 +0000 |
commit | 644ffad6a8d92b48b5092566d26cc2d6de667c8c (patch) | |
tree | 22361a3c26e8487467930a7a9ebc79ad18e45e47 | |
parent | 151e28e590549321441c6545892d45fb0e7ee8ce (diff) |
(pty_io_select): Add arg CRED.
-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))) |