From 644ffad6a8d92b48b5092566d26cc2d6de667c8c Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 5 Dec 1995 02:14:23 +0000 Subject: (pty_io_select): Add arg CRED. --- term/ptyio.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'term/ptyio.c') 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))) -- cgit v1.2.3