Oleg Nesterov
ad86622b47
wait: swap EXIT_ZOMBIE and EXIT_DEAD to hide EXIT_TRACE from user-space
...
get_task_state() uses the most significant bit to report the state to
user-space, this means that EXIT_ZOMBIE->EXIT_TRACE->EXIT_DEAD transition
can be noticed via /proc as Z -> X -> Z change. Note that this was
possible even before EXIT_TRACE was introduced.
This is not really bad but imho it make sense to hide EXIT_TRACE from
user-space completely. So the patch simply swaps EXIT_ZOMBIE and
EXIT_DEAD, this way EXIT_TRACE will be seen as EXIT_ZOMBIE by user-space.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: Michal Schmidt <mschmidt@redhat.com>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Cc: Lennart Poettering <lpoetter@redhat.com>
Cc: Roland McGrath <roland@hack.frob.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-04-07 16:36:06 -07:00
..
2014-04-07 16:35:53 -07:00
2014-03-13 10:14:33 -04:00
2014-04-04 15:39:39 -07:00
2014-04-03 16:21:01 -07:00
2014-01-23 16:36:59 -08:00
2014-04-04 15:39:39 -07:00
2014-04-03 16:21:01 -07:00
2014-04-07 16:35:53 -07:00
2014-04-04 14:03:05 -07:00
2014-02-17 12:37:13 -08:00
2014-04-07 16:35:53 -07:00
2014-04-04 15:39:39 -07:00
2013-11-21 16:42:27 -08:00
2014-04-04 15:39:39 -07:00
2014-04-04 15:39:39 -07:00
2014-03-13 10:14:33 -04:00
2014-02-14 11:54:44 -06:00
2014-04-04 14:03:05 -07:00
2014-03-04 16:16:16 +00:00
2014-04-04 15:39:39 -07:00
2014-04-03 16:21:01 -07:00
2013-11-09 00:16:38 -05:00
2014-04-04 15:39:39 -07:00
2014-04-04 15:39:39 -07:00
2014-04-07 16:35:53 -07:00
2014-04-07 16:35:53 -07:00
2014-04-04 15:39:39 -07:00
2014-04-04 15:39:39 -07:00
2014-02-17 13:47:35 -08:00
2014-04-07 16:35:53 -07:00
2014-04-07 16:35:53 -07:00
2014-04-04 15:39:39 -07:00
2014-04-04 15:39:39 -07:00
2014-04-03 16:21:01 -07:00
2014-04-04 15:39:39 -07:00
2014-04-03 16:20:59 -07:00
2014-03-13 10:14:33 -04:00
2013-12-04 12:27:46 +01:00
2014-03-12 16:38:03 -04:00
2014-04-04 15:39:39 -07:00
2014-04-04 15:39:39 -07:00
2014-04-03 16:22:16 -07:00
2014-02-13 14:55:02 -05:00
2014-04-03 16:21:01 -07:00
2014-04-04 15:39:39 -07:00
2014-04-04 15:39:39 -07:00
2014-04-07 16:35:53 -07:00
2014-04-04 14:03:05 -07:00
2014-04-07 16:35:53 -07:00
2014-01-25 03:14:05 -05:00
2014-04-03 16:20:51 -07:00
2014-04-07 16:35:49 -07:00
2014-04-06 09:38:07 -07:00
2014-04-03 16:21:01 -07:00
2014-03-13 10:14:33 -04:00
2014-04-07 16:36:06 -07:00
2014-04-04 15:39:39 -07:00
2014-03-13 10:14:33 -04:00
2014-03-13 10:14:33 -04:00
2014-04-03 16:20:54 -07:00
2014-01-23 16:36:58 -08:00
2014-04-04 15:39:39 -07:00
2014-03-13 10:14:33 -04:00
2014-03-13 10:14:33 -04:00
2014-03-25 20:54:57 -07:00
2014-04-04 15:39:39 -07:00
2014-04-07 16:35:53 -07:00
2014-04-04 15:39:39 -07:00
2014-04-04 15:39:39 -07:00
2014-04-07 16:35:53 -07:00
2013-12-22 11:03:49 -08:00
2014-03-27 09:52:54 -07:00
2013-12-05 16:36:21 -06:00
2013-11-09 00:16:26 -05:00
2013-11-09 00:16:30 -05:00
2014-04-07 16:35:52 -07:00
2013-10-24 23:34:54 -04:00
2014-04-03 16:21:16 -07:00
2014-04-01 19:19:15 -07:00
2014-04-03 13:05:42 -07:00
2014-04-03 16:21:01 -07:00
2014-02-20 14:54:28 +01:00
2013-11-14 12:08:14 +09:00
2014-03-04 08:05:21 +00:00
2014-03-06 16:30:44 +01:00
2014-04-04 14:21:20 -07:00
2014-01-23 16:37:01 -08:00
2014-04-01 17:08:43 +02:00
2014-01-29 16:22:40 -08:00
2014-04-04 15:50:08 -07:00
2014-04-03 16:21:04 -07:00
2014-01-25 03:13:04 -05:00
2014-01-02 14:40:30 -08:00
2014-04-07 16:36:05 -07:00
2014-03-31 08:24:43 -04:00
2014-04-04 14:21:20 -07:00
2014-03-31 11:05:24 -07:00
2014-04-03 16:21:05 -07:00
2013-11-06 12:40:26 +01:00
2014-04-04 14:49:16 -07:00
2014-04-04 15:39:39 -07:00
2013-11-09 00:16:20 -05:00
2013-10-24 23:34:54 -04:00
2014-02-07 16:08:57 -08:00
2013-11-15 22:04:17 -05:00
2014-03-31 08:24:43 -04:00
2014-02-07 16:08:57 -08:00
2014-03-18 19:24:49 -04:00
2014-03-30 19:18:51 -04:00
2013-11-23 22:33:47 -08:00
2014-04-04 14:21:20 -07:00
2014-03-30 19:18:51 -04:00
2014-04-04 15:50:08 -07:00
2014-01-23 16:37:00 -08:00
2014-03-30 19:18:51 -04:00
2014-03-30 19:18:51 -04:00
2014-04-04 14:49:16 -07:00
2014-01-23 16:37:02 -08:00
2014-03-31 14:32:17 -07:00
2013-10-24 23:34:54 -04:00
2013-11-13 15:34:18 +09:00
2013-11-18 19:07:53 -08:00
2014-01-22 19:36:57 +01:00
2013-11-09 00:16:31 -05:00
2013-10-12 13:12:31 -07:00
2014-03-13 10:14:33 -04:00
2014-02-22 02:02:28 +01:00
2014-01-23 16:57:40 -08:00
2013-11-09 00:16:44 -05:00