Files
android_kernel_xiaomi_sm8450/include/linux
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
..
2013-08-14 13:55:15 +05:30
2014-03-28 20:42:01 +01:00
2014-02-15 10:58:17 +00:00
2014-03-28 16:29:35 -04:00
2014-01-20 11:55:23 -08:00
2013-12-23 18:34:58 -08:00
2014-01-24 22:39:54 +01:00
2010-10-15 21:18:59 +02:00
2010-11-23 20:14:46 +00:00
2013-07-30 11:53:12 -04:00
2013-05-29 15:50:34 -04:00
2012-12-02 00:05:12 +00:00
2011-10-26 15:43:25 -04:00
2009-04-01 08:59:23 -07:00
2005-04-16 15:20:36 -07:00
2011-08-03 11:30:42 -04:00
2008-06-06 11:29:10 -07:00
2013-11-23 22:33:56 -08:00
2009-11-20 20:13:39 +01:00
2009-11-20 20:13:39 +01:00
2013-11-15 09:32:21 +09:00
2012-01-03 22:54:57 -05:00
2011-10-29 21:20:22 +02:00
2013-11-09 00:16:29 -05:00
2014-03-11 11:52:47 +01:00
2013-03-12 11:30:04 -07:00
2014-04-03 16:20:58 -07:00
2008-12-25 11:01:43 +11:00
2014-04-01 17:08:43 +02:00
2012-02-20 19:46:36 +11:00
2014-02-13 10:08:52 +05:30
2009-09-14 17:41:42 -07:00
2005-04-16 15:20:36 -07:00
2013-05-07 18:38:27 -07:00
2014-01-16 10:23:02 +10:30
2013-04-29 18:28:40 -07:00
2014-03-10 11:44:42 -04:00
2014-03-11 22:52:43 -04:00
2009-06-18 13:04:05 -07:00
2014-03-10 17:26:19 -07:00
2007-07-10 00:35:17 -04:00
2010-10-25 14:11:37 -07:00
2014-02-20 14:54:28 +01:00
2011-07-01 15:34:45 -07:00
2010-02-09 11:13:56 +01:00
2010-03-07 22:17:09 +01:00
2010-10-12 16:53:37 +02:00
2014-03-04 07:55:47 -08:00
2012-03-26 21:47:19 +02:00
2012-03-26 21:47:19 +02:00
2014-01-16 11:15:50 +01:00
2014-01-26 22:48:35 +01:00
2013-06-13 17:51:04 -07:00
2008-08-02 18:36:10 +01:00
2013-12-29 16:34:25 -05:00
2005-04-16 15:20:36 -07:00
2014-02-19 17:22:44 +01:00
2014-02-13 18:12:04 -08:00
2012-03-20 12:47:48 +01:00
2010-08-09 20:45:05 -07:00
2010-10-07 14:08:55 +01:00
2013-09-13 15:09:52 +02:00
2014-03-13 12:11:00 +10:30
2007-10-17 08:42:52 -07:00
2012-05-31 17:49:32 -07:00
2014-01-25 08:55:09 +01:00
2011-02-13 16:54:24 -08:00
2014-04-03 16:20:50 -07:00
2013-08-28 21:35:14 -07:00
2008-07-04 10:40:05 -07:00
2011-09-16 19:20:20 -04:00
2013-04-01 11:04:50 -07:00
2009-07-30 16:03:45 +09:30
2014-02-13 20:21:59 -08:00
2006-06-05 12:29:17 -07:00
2013-05-31 00:48:22 -07:00
2013-12-11 15:52:34 +01:00
2014-02-28 15:36:37 -08:00
2013-12-26 13:29:35 -05:00
2009-06-16 08:40:20 +02:00
2014-04-07 16:35:53 -07:00
2013-11-09 00:16:19 -05:00
2014-03-04 13:51:06 -05:00
2014-01-27 21:02:39 -08:00
2013-11-09 00:16:19 -05:00
2013-10-14 17:15:48 +02:00
2014-03-17 15:14:16 -04:00
2014-03-17 15:15:21 -04:00
2014-01-25 03:14:05 -05:00
2012-12-11 17:22:27 -08:00
2013-05-04 14:47:26 -04:00
2014-03-07 10:24:49 -05:00
2014-01-13 14:29:49 -08:00
2014-01-03 11:22:21 -08:00
2013-06-12 12:37:30 +01:00
2012-07-31 18:42:43 -07:00
2014-04-03 16:21:04 -07:00
2014-03-19 15:11:19 -06:00
2013-10-17 00:36:06 +02:00
2010-08-04 21:53:17 -07:00
2011-03-31 11:26:23 -03:00
2012-03-20 21:29:38 -04:00
2014-03-19 22:24:08 -04:00
2010-02-10 17:47:17 -08:00
2014-02-17 15:01:52 -08:00
2013-12-18 19:04:50 -08:00
2014-03-09 19:53:45 +01:00
2013-07-03 16:08:05 -07:00
2012-10-06 03:05:01 +09:00
2010-05-11 10:09:47 +02:00
2014-01-28 13:20:09 -08:00
2014-04-01 17:08:43 +02:00
2013-12-19 19:09:38 -05:00
2014-01-27 21:02:39 -08:00
2013-09-10 18:56:32 -04:00
2011-03-31 11:26:23 -03:00
2005-04-16 15:20:36 -07:00
2014-02-15 11:55:28 -08:00
2014-02-17 15:01:37 -08:00
2010-08-09 16:48:44 -04:00
2013-04-30 15:50:12 +05:30
2005-04-16 15:20:36 -07:00
2012-08-21 16:28:31 +02:00
2012-10-09 16:22:32 +09:00
2010-11-29 08:55:25 +11:00
2012-07-22 23:57:55 +04:00
2013-03-20 12:10:38 -04:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2014-04-07 16:35:53 -07:00
2013-10-17 15:53:09 -04:00
2010-04-06 20:35:58 +04:00
2014-01-30 16:56:55 -08:00