diff options
author | Roland McGrath <roland@gnu.org> | 2002-06-13 20:52:55 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-06-13 20:52:55 +0000 |
commit | 4e530972c2ff0bdc240093f0282c650c7562cd3a (patch) | |
tree | e00603b6b8da09695a22efadb1b4aeaa845cb5f5 | |
parent | d073f6deb6ee54cc7f3f1ee3fdc9769d99880a02 (diff) |
(S_tioctl_tiocspgrp): revert unintentional checkin
-rw-r--r-- | term/users.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/term/users.c b/term/users.c index 0cba9de4..ee27c855 100644 --- a/term/users.c +++ b/term/users.c @@ -1641,9 +1641,6 @@ S_tioctl_tiocspgrp (io_t port, mutex_lock (&global_lock); if (!(cred->po->openmodes & (O_READ|O_WRITE))) err = EBADF; - else if (!cred->hook - || getsid (-pgrp) != ((struct protid_hook *)cred->hook)->sid) - err = EPERM; else { termflags &= ~NO_OWNER; |