Tetsuo Handa
8fe6929cfd
kthread: fix return value of kthread_create() upon SIGKILL.
...
Commit 786235eeba0e ("kthread: make kthread_create() killable") meant
for allowing kthread_create() to abort as soon as killed by the
OOM-killer. But returning -ENOMEM is wrong if killed by SIGKILL from
userspace. Change kthread_create() to return -EINTR upon SIGKILL.
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Cc: Oleg Nesterov <oleg@redhat.com>
Acked-by: David Rientjes <rientjes@google.com>
Cc: <stable@vger.kernel.org> [3.13+]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-06-04 16:53:51 -07:00
..
2014-04-18 14:20:48 +02:00
2014-06-03 13:18:00 -07:00
2013-11-13 12:09:34 +09:00
2014-04-28 12:20:00 +02:00
2014-06-03 14:00:15 -07:00
2014-06-03 23:13:00 +02:00
2014-06-03 09:01:02 -07:00
2014-06-03 12:57:53 -07:00
2014-06-03 23:10:15 +02:00
2014-04-15 20:26:58 +02:00
2014-05-02 23:12:42 -04:00
2013-12-10 18:21:34 +00:00
2013-05-04 14:57:58 -04:00
2014-02-18 11:17:17 +01:00
2014-02-18 11:17:17 +01:00
2014-04-24 13:44:54 -04:00
2014-03-20 10:10:53 -04:00
2014-04-12 12:38:53 -07:00
2014-04-12 12:38:53 -07:00
2013-12-20 12:25:45 -08:00
2014-04-03 09:26:18 -07:00
2014-05-13 11:28:30 -04:00
2014-05-27 14:33:17 -07:00
2014-04-02 12:51:41 -07:00
2013-05-01 17:29:18 -04:00
2014-05-05 16:07:46 -07:00
2014-05-22 10:21:31 +02:00
2014-04-03 16:22:16 -07:00
2013-11-13 12:09:12 +09:00
2013-11-09 00:16:23 -05:00
2014-04-07 16:36:06 -07:00
2014-02-13 18:13:22 -08:00
2014-04-07 16:36:11 -07:00
2013-12-19 13:50:32 -05:00
2014-02-02 14:09:12 -08:00
2014-06-03 12:57:53 -07:00
2014-04-03 16:21:05 -07:00
2014-06-03 13:18:00 -07:00
2014-04-03 16:21:07 -07:00
2014-02-21 21:49:07 +01:00
2013-10-19 19:45:35 -04:00
2014-04-07 16:36:11 -07:00
2013-11-15 09:32:22 +09:00
2013-05-28 08:50:00 +02:00
2014-05-28 13:24:26 +10:00
2014-04-18 14:20:48 +02:00
2013-11-13 12:09:26 +09:00
2014-04-25 12:00:49 -07:00
2014-06-04 16:53:51 -07:00
2014-03-31 14:13:25 -07:00
2013-10-25 17:15:18 -04:00
2013-09-25 17:17:01 +01:00
2014-05-01 10:35:01 -07:00
2014-02-26 06:35:13 -08:00
2013-09-07 14:35:32 -07:00
2013-12-05 21:28:42 +08:00
2014-04-07 16:36:08 -07:00
2013-12-04 14:09:46 +10:30
2014-04-02 16:20:21 -07:00
2013-09-30 14:31:03 -07:00
2013-12-09 16:56:29 +01:00
2013-04-18 12:51:19 +02:00
2014-04-07 14:55:46 -07:00
2014-03-06 15:35:10 +01:00
2013-06-18 11:32:10 -05:00
2013-12-18 19:04:50 -08:00
2014-04-12 14:49:50 -07:00
2014-04-07 16:35:54 -07:00
2014-05-23 10:47:21 -06:00
2014-04-16 15:25:53 -04:00
2014-04-07 16:36:11 -07:00
2014-02-24 14:47:15 -08:00
2013-07-14 19:36:59 -04:00
2014-05-22 11:36:10 +02:00
2014-03-11 11:33:47 +01:00
2014-04-03 16:21:05 -07:00
2014-05-22 11:16:36 +02:00
2013-11-13 12:09:33 +09:00
2014-04-25 12:00:49 -07:00
2013-12-10 18:25:28 +00:00
2013-12-10 18:25:28 +00:00
2013-09-11 15:58:27 -07:00
2013-11-19 16:39:05 -05:00
2013-04-29 18:28:42 -07:00
2013-06-19 12:58:42 +02:00
2014-04-30 13:46:17 +02:00
2014-05-14 09:46:30 -07:00
2014-05-08 09:10:56 -04:00
2013-08-30 23:44:11 -07:00
2014-02-24 14:47:15 -08:00
2014-04-14 16:03:02 -07:00
2014-04-03 16:21:07 -07:00
2013-08-30 23:44:11 -07:00
2014-04-18 16:40:08 -07:00
2013-06-19 12:58:42 +02:00
2014-05-22 10:28:56 +02:00