From 6352faa8f9002055b2a2c4af1bdbefd852be3b92 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 5 Dec 1995 02:12:24 +0000 Subject: (pty_io_write): Add CRED arg. --- term/ptyio.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/term/ptyio.c b/term/ptyio.c index c4fea4a1..c449c32a 100644 --- a/term/ptyio.c +++ b/term/ptyio.c @@ -272,7 +272,8 @@ pty_io_read (struct trivfs_protid *cred, /* Validation has already been done by trivfs_S_io_write. */ error_t -pty_io_write (char *data, +pty_io_write (struct trivfs_protid *cred, + char *data, mach_msg_type_number_t datalen, mach_msg_type_number_t *amount) { @@ -281,6 +282,8 @@ pty_io_write (char *data, mutex_lock (&global_lock); + /* Validate CRED. XXX */ + if (remote_input_mode) { /* Wait for the queue to be empty */ -- cgit v1.2.3