summaryrefslogtreecommitdiff
path: root/term
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-06-13 20:52:55 +0000
committerRoland McGrath <roland@gnu.org>2002-06-13 20:52:55 +0000
commit4e530972c2ff0bdc240093f0282c650c7562cd3a (patch)
treee00603b6b8da09695a22efadb1b4aeaa845cb5f5 /term
parentd073f6deb6ee54cc7f3f1ee3fdc9769d99880a02 (diff)
(S_tioctl_tiocspgrp): revert unintentional checkin
Diffstat (limited to 'term')
-rw-r--r--term/users.c3
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;