lkml.org 
[lkml]   [1997]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH-V3!][2.1.71] BSD revoke() syscall
   Date: Wed, 10 Dec 1997 14:45:48 +0000 (GMT)
From: Matthew Kirkwood <weejock@ferret.lmh.ox.ac.uk>
Done. (Attached.)

Now, however, when I revoke() a tty, I get the famous old "tty->count !=
#fd's".

Oh, I see. We need the following change in tty_io.c as well, which
should be safe (although I haven't tested it yet):

(pseudo-patch follows)

tty_io.c, arround line 1127:

+ filp->private_data = 0;
/* check whether both sides are closing ... */
if (!tty_closing || (o_tty && !o_tty_closing))
return;
- filp->private_data = 0;
(i.e, move filp->private_data to before the return statement).

- Ted



\
 
 \ /
  Last update: 2005-03-22 13:40    [from the cache]
©2003-2011 Jasper Spaans