[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200703281516.31366.oliver@neukum.org>
Date: Wed, 28 Mar 2007 15:16:30 +0200
From: Oliver Neukum <oliver@...kum.org>
To: "Stuart MacDonald" <stuartm@...necttech.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: question on tty open and close
Am Mittwoch, 28. März 2007 15:10 schrieb Stuart MacDonald:
> > We find that a failure in open() leads to release_dev() being called.
> > release_dev() calls close():
> >
> > if (tty->driver->close)
> > tty->driver->close(tty, filp);
> >
> > So we have a file that's closed although open() never succeeded?
>
> That's correct! It's been a pain in my butt for years.
How did you deal with that proctological issue?
Regards
Oliver
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists