Eric W. Biederman
d9c1e9a8ff
[PATCH] tty: Fix two reported pid leaks
...
These leaks were reported by: Catalin Marinas <catalin.marians@gmail.com>
and I have been able to very by inspection they are possible.
When converting tty_io.c to store pids as struct pid pointers instead
of pid_t values it appears I overlooked two places where we stop using
the pid value. The very obvious one is in do_tty_hangup, and the one
the less obvious one in __proc_set_tty.
When looking into the code __proc_set_tty only has pids that need to
be put because of failures of other parts of the code to properly
perform hangup processing. Fixing the leak here in __proc_set_tty
is easy and obviously correct so I am doing that first.
Fixing the places that should be performing hangup processing is much
less obviously correct. So those I'm aiming those patches at -mm.
for now, so the can age a while before they are merged.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-03-18 13:40:06 -07:00
..
2007-02-27 00:36:00 -05:00
2007-02-14 08:09:54 -08:00
2007-02-12 09:48:27 -08:00
2007-02-21 11:18:26 -08:00
2007-03-05 07:57:53 -08:00
2007-02-20 17:10:14 -08:00
2007-03-06 18:01:04 -08:00
2007-02-17 18:57:09 +01:00
2007-02-14 08:09:54 -08:00
2007-03-18 11:35:07 -07:00
2006-10-03 17:59:17 +01:00
2007-02-11 11:18:07 -08:00
2007-02-09 17:08:57 +00:00
2006-10-05 15:10:12 +01:00
2005-04-16 15:20:36 -07:00
2007-02-14 08:09:54 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-12-13 09:05:58 -08:00
2005-04-16 15:20:36 -07:00
2006-12-08 08:28:44 -08:00
2007-03-05 07:57:50 -08:00
2006-12-07 08:39:41 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-07 16:57:20 -07:00
2005-04-16 15:20:36 -07:00
2005-09-07 16:57:20 -07:00
2005-04-16 15:20:36 -07:00
2007-03-08 01:10:30 +00:00
2007-02-12 09:48:30 -08:00
2007-02-14 08:09:54 -08:00
2007-02-14 08:09:54 -08:00
2007-02-12 09:48:30 -08:00
2006-10-05 15:10:12 +01:00
2006-07-03 15:26:59 -07:00
2007-03-05 07:57:53 -08:00
2006-10-04 07:55:13 -07:00
2005-04-16 15:20:36 -07:00
2006-12-08 08:28:57 -08:00
2007-02-12 09:48:45 -08:00
2007-02-11 10:51:26 -08:00
2006-11-22 14:57:56 +00:00
2007-02-16 08:14:00 -08:00
2007-02-14 08:09:59 -08:00
2007-02-07 14:03:21 +11:00
2007-02-26 12:58:33 -08:00
2006-07-13 18:53:32 +10:00
2006-10-04 15:02:27 +10:00
2006-07-13 18:53:32 +10:00
2006-09-25 13:30:51 +10:00
2006-12-08 08:28:57 -08:00
2007-02-14 08:09:54 -08:00
2006-07-03 15:26:59 -07:00
2006-07-03 15:26:59 -07:00
2007-02-11 10:51:26 -08:00
2007-02-11 10:51:26 -08:00
2007-03-06 18:02:22 -08:00
2007-02-13 16:07:36 -08:00
2007-03-17 01:03:26 +00:00
2007-02-20 17:11:55 +00:00
2006-12-13 09:05:58 -08:00
2007-02-09 17:08:57 +00:00
2007-02-12 09:48:45 -08:00
2005-05-04 07:33:13 -07:00
2007-01-22 08:53:24 -08:00
2006-12-07 08:39:35 -08:00
2006-12-07 08:39:35 -08:00
2007-02-11 10:51:30 -08:00
2007-02-12 09:48:45 -08:00
2007-02-11 10:51:29 -08:00
2007-02-11 10:51:29 -08:00
2007-02-11 11:18:06 -08:00
2007-02-11 10:51:25 -08:00
2006-06-30 19:25:36 +02:00
2007-02-12 09:48:30 -08:00
2007-02-12 09:48:32 -08:00
2006-12-08 08:28:44 -08:00
2007-02-14 08:09:54 -08:00
2007-02-12 09:48:30 -08:00
2006-10-05 15:10:12 +01:00
2007-02-14 08:09:54 -08:00
2006-09-29 09:18:05 -07:00
2006-12-08 08:28:44 -08:00
2007-02-14 08:09:54 -08:00
2007-02-12 09:48:45 -08:00
2007-02-11 10:51:34 -08:00
2005-04-16 15:20:36 -07:00
2007-02-11 10:51:26 -08:00
2005-04-16 15:20:36 -07:00
2005-06-25 16:25:04 -07:00
2007-02-12 09:48:30 -08:00
2005-04-16 15:20:36 -07:00
2007-02-14 08:09:59 -08:00
2006-01-12 09:09:00 -08:00
2006-09-29 09:18:06 -07:00
2006-09-29 09:18:12 -07:00
2007-02-14 08:09:54 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2007-02-11 10:51:28 -08:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-01-26 13:32:26 -08:00
2007-02-14 08:09:54 -08:00
2005-04-16 15:20:36 -07:00
2007-02-12 09:48:30 -08:00
2006-12-08 08:28:59 -08:00
2006-12-13 09:05:49 -08:00
2006-12-08 08:28:59 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2007-02-12 09:48:30 -08:00
2007-02-12 09:48:30 -08:00
2007-02-12 09:48:30 -08:00
2007-02-16 08:13:59 -08:00
2006-12-08 08:28:44 -08:00
2006-12-08 08:28:44 -08:00
2007-02-14 08:09:54 -08:00
2007-02-14 08:09:54 -08:00
2007-03-18 13:40:06 -07:00
2007-02-11 10:51:32 -08:00
2007-02-14 08:09:54 -08:00
2006-12-20 16:37:48 +11:00
2007-02-12 09:48:45 -08:00
2007-02-14 08:09:54 -08:00
2007-01-23 18:26:47 +00:00
2007-03-16 19:25:05 -07:00
2007-03-16 19:25:06 -07:00