diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-12-12 21:01:17 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-12-12 21:01:17 +0000 |
commit | e87a72f10564b6d56a2a277f19c3a2648b6ded9d (patch) | |
tree | 43c6e742f7ed4a948375d8ffa9c3bb3bc754492e /term/users.c | |
parent | 54c3ed915c326288059d10ae5325e99dca352edf (diff) |
(open_hook): If this is the pty, then call pty specific function.
Diffstat (limited to 'term/users.c')
-rw-r--r-- | term/users.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/term/users.c b/term/users.c index d4cbf6a3..0c823df2 100644 --- a/term/users.c +++ b/term/users.c @@ -93,6 +93,9 @@ open_hook (struct trivfs_control *cntl, if ((flags & (O_READ|O_WRITE)) == 0) return 0; + if (cntl == ptyctl) + return pty_open_hook (cntl, uids, nuids, gids, ngids, flags); + mutex_lock (&global_lock); if (!(termflags & TTY_OPEN)) |