diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-12-05 02:12:24 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-12-05 02:12:24 +0000 |
commit | 6352faa8f9002055b2a2c4af1bdbefd852be3b92 (patch) | |
tree | 09f0ca811d754f6fec674c92c29aa86981b93ef6 | |
parent | a9745bc4f63707ff156676f72d9c9e6099fad6b7 (diff) |
(pty_io_write): Add CRED arg.
-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 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 */ |