Tetsuo Handa
912193521b
exec: do not call request_module() twice from search_binary_handler()
...
Currently, search_binary_handler() tries to load binary loader module
using request_module() if a loader for the requested program is not yet
loaded. But second attempt of request_module() does not affect the result
of search_binary_handler().
If request_module() triggered recursion, calling request_module() twice
causes 2 to the power of MAX_KMOD_CONCURRENT (= 50) repetitions. It is
not an infinite loop but is sufficient for users to consider as a hang up.
Therefore, this patch changes not to call request_module() twice, making 1
to the power of MAX_KMOD_CONCURRENT repetitions in case of recursion.
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Reported-by: Richard Weinberger <richard@nod.at>
Tested-by: Richard Weinberger <richard@nod.at>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-07-26 16:49:44 -07:00
..
2011-07-25 23:43:53 -07:00
2011-03-31 11:26:23 -03:00
2011-07-20 20:47:59 -04:00
2011-07-20 20:48:03 -04:00
2011-05-30 01:50:53 -04:00
2011-03-31 11:26:23 -03:00
2011-05-28 01:02:50 -04:00
2011-07-26 10:39:54 -07:00
2011-07-20 01:44:21 -04:00
2011-07-26 13:38:50 -07:00
2011-07-26 11:11:28 -07:00
2011-07-20 20:47:59 -04:00
2011-05-28 01:02:54 -04:00
2011-07-17 23:22:02 -04:00
2011-05-19 16:55:28 +09:30
2011-03-22 17:44:17 -07:00
2011-07-25 22:49:19 -07:00
2011-07-25 13:56:39 -07:00
2011-07-20 01:44:26 -04:00
2011-07-20 20:47:59 -04:00
2011-03-15 02:21:44 -04:00
2011-07-26 11:34:40 -07:00
2011-07-26 11:34:40 -07:00
2011-07-26 10:39:54 -07:00
2011-07-20 20:47:59 -04:00
2011-05-10 10:16:21 +02:00
2011-07-21 10:59:16 -07:00
2011-07-25 22:49:19 -07:00
2011-07-25 14:30:23 -04:00
2011-07-20 20:47:59 -04:00
2011-07-22 19:02:39 -07:00
2011-07-20 20:47:59 -04:00
2011-07-20 20:47:59 -04:00
2011-07-20 20:47:59 -04:00
2011-07-25 21:00:19 -07:00
2011-07-22 19:42:12 -04:00
2011-06-28 00:06:41 +02:00
2011-06-13 15:38:22 -04:00
2011-07-25 13:56:39 -07:00
2011-07-25 14:30:23 -04:00
2011-07-20 20:23:19 -04:00
2011-07-20 20:47:59 -04:00
2011-07-20 20:47:53 -04:00
2011-07-20 20:47:59 -04:00
2011-07-26 10:39:54 -07:00
2011-03-31 11:26:23 -03:00
2011-07-25 22:49:19 -07:00
2011-07-20 20:47:59 -04:00
2011-04-07 11:14:49 -07:00
2011-07-20 20:47:59 -04:00
2011-07-25 13:56:39 -07:00
2011-06-24 08:34:22 -07:00
2011-07-01 16:17:13 +02:00
2011-07-26 16:49:43 -07:00
2011-05-16 11:05:00 -07:00
2011-05-25 08:39:26 -07:00
2011-04-14 16:06:56 -07:00
2011-07-25 21:00:19 -07:00
2011-06-27 18:00:12 -07:00
2011-07-25 22:50:35 -07:00
2011-07-20 01:43:24 -04:00
2011-05-28 01:02:50 -04:00
2011-07-22 19:02:39 -07:00
2011-07-20 01:43:07 -04:00
2011-07-20 01:44:26 -04:00
2011-07-25 13:56:39 -07:00
2011-03-24 10:16:26 -07:00
2011-07-24 10:08:32 -04:00
2011-07-20 20:47:47 -04:00
2011-07-20 20:47:59 -04:00
2011-07-20 01:43:10 -04:00
2011-07-20 01:43:10 -04:00
2011-05-03 10:10:51 +10:00
2011-07-20 01:43:10 -04:00
2011-03-17 11:11:05 +01:00
2011-05-28 14:44:46 +02:00
2011-07-26 10:39:54 -07:00
2011-06-16 11:44:46 -04:00
2011-07-01 22:32:26 +02:00
2011-07-15 18:58:42 -04:00
2011-07-22 19:02:39 -07:00
2011-05-31 16:33:35 +02:00
2011-07-20 20:47:50 -04:00
2011-05-25 08:39:26 -07:00
2011-03-31 11:26:23 -03:00
2011-07-26 16:49:44 -07:00
2011-03-23 19:47:13 -07:00
2011-04-14 16:06:56 -07:00
2011-03-21 00:16:09 -04:00
2011-03-16 13:26:17 -07:00
2011-04-28 11:28:20 -07:00
2011-04-17 10:42:01 -07:00
2011-07-26 10:39:54 -07:00
2011-07-25 14:30:23 -04:00
2011-07-26 10:39:54 -07:00
2011-07-20 01:44:38 -04:00
2011-03-21 00:16:08 -04:00
2011-05-26 09:52:14 -07:00
2011-07-22 19:42:11 -04:00
2011-07-20 20:23:19 -04:00
2011-07-15 18:58:42 -04:00
2011-05-25 08:39:26 -07:00
2011-05-26 10:01:43 -06:00
2011-07-25 22:47:03 -07:00
2011-07-24 10:08:32 -04:00
2011-07-22 19:42:13 -04:00
2011-07-24 10:08:32 -04:00
2011-07-25 14:30:23 -04:00
2011-07-20 20:47:56 -04:00
2011-03-21 00:16:08 -04:00
2011-07-25 20:57:11 -07:00
2011-03-15 02:21:45 -04:00
2011-03-14 09:15:28 -04:00
2011-07-25 10:33:36 -07:00
2011-07-20 20:47:59 -04:00
2011-06-14 11:46:14 +02:00
2011-03-23 19:47:13 -07:00
2011-05-28 12:02:09 -04:00