Alan Cox 452a00d2ee tty: Make get_current_tty use a kref
We now return a kref covered tty reference. That ensures the tty structure
doesn't go away when you have a return from get_current_tty. This is not
enough to protect you from most of the resources being freed behind your
back - yet.

[Updated to include fixes for SELinux problems found by Andrew Morton and
 an s390 leak found while debugging the former]

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-13 09:51:41 -07:00
..
2008-08-04 21:31:34 -07:00
2008-02-08 09:22:40 -08:00
2008-09-13 14:41:51 -07:00
2008-08-20 15:40:32 -07:00
2008-08-01 11:25:29 -04:00
2008-09-05 09:51:30 -05:00
2008-08-25 01:18:04 -04:00
2008-04-29 08:06:00 -07:00
2008-07-26 20:53:40 -04:00
2008-07-26 20:53:40 -04:00
2008-07-25 10:53:34 -07:00
2007-10-18 14:37:31 -07:00
2008-09-02 19:21:37 -07:00
2008-10-03 17:32:11 -04:00
2008-10-02 15:53:13 -07:00
2008-07-26 12:00:07 -07:00
2008-09-18 09:57:57 +03:00
2008-09-08 20:31:04 +02:00
2008-07-25 10:53:34 -07:00
2008-10-10 11:08:07 -07:00
2008-07-26 20:53:40 -04:00
2008-07-26 12:00:08 -07:00
2008-07-26 12:00:08 -07:00
2008-07-26 12:00:08 -07:00
2008-10-09 08:57:05 +02:00
2008-01-30 13:31:46 +01:00
2008-07-26 12:00:06 -07:00
2008-05-01 13:08:16 -04:00
2008-10-13 09:51:41 -07:00
2008-08-01 11:25:24 -04:00
2008-07-26 20:53:40 -04:00
2008-07-14 19:10:52 +03:00
2008-02-06 10:41:07 -08:00
2008-07-28 18:10:28 +09:00
2008-10-10 20:02:48 -04:00
2008-02-14 21:13:33 -08:00
2008-07-25 10:53:35 -07:00
2008-07-02 15:06:27 -06:00