Christoph Hellwig
8043fc147a
kernel: add a kernel_wait helper
...
Add a helper that waits for a pid and stores the status in the passed in
kernel pointer. Use it to fix the usage of kernel_wait4 in
call_usermodehelper_exec_sync that only happens to work due to the
implicit set_fs(KERNEL_DS) for kernel threads.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Luis Chamberlain <mcgrof@kernel.org>
Link: http://lkml.kernel.org/r/20200721130449.5008-1-hch@lst.de
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-08-12 10:57:59 -07:00
..
2020-07-31 11:49:08 +02:00
2020-08-03 18:19:23 -07:00
2020-08-05 11:43:47 -07:00
2020-08-05 20:13:21 -07:00
2020-08-04 01:22:02 +02:00
2020-08-07 12:58:11 -07:00
2020-08-06 16:43:36 -07:00
2020-08-05 20:13:21 -07:00
2020-08-07 08:54:16 +02:00
2020-08-07 13:00:53 -07:00
2020-08-12 10:57:59 -07:00
2020-08-05 20:13:21 -07:00
2020-08-04 18:11:58 -07:00
2020-08-03 19:30:59 -07:00
2020-08-12 10:57:59 -07:00
2020-08-05 11:12:34 -07:00
2020-08-01 20:38:28 -07:00
2020-08-12 10:57:56 -07:00
2020-08-04 13:26:06 -07:00
2020-08-03 14:11:08 -07:00
2020-08-12 10:57:59 -07:00
2020-08-04 13:49:43 -07:00
2020-08-03 14:25:40 -07:00
2020-08-04 12:44:53 +02:00
2020-08-03 11:57:03 -07:00
2020-08-05 13:02:45 -07:00
2020-08-04 22:47:54 -07:00
2020-08-07 12:41:36 -07:00
2020-08-06 16:13:13 +02:00
2020-08-07 11:33:28 -07:00
2020-08-12 10:57:59 -07:00
2020-08-12 10:57:57 -07:00
2020-08-12 10:57:56 -07:00
2020-08-12 10:57:57 -07:00
2020-08-06 16:13:13 +02:00
2020-08-12 10:57:57 -07:00
2020-08-12 10:57:56 -07:00
2020-08-03 10:54:54 +02:00
2020-08-04 21:02:38 -04:00
2020-07-31 12:11:58 +02:00
2020-08-07 11:33:28 -07:00
2020-08-07 18:29:15 -07:00
2020-08-06 16:13:13 +02:00
2020-08-06 12:59:31 -07:00
2020-08-02 20:39:44 -07:00
2020-08-06 16:13:13 +02:00
2020-08-07 21:27:37 -07:00
2020-08-12 10:57:57 -07:00
2020-08-12 10:57:56 -07:00
2020-08-07 11:33:24 -07:00
2020-08-12 10:57:57 -07:00
2020-08-07 11:33:26 -07:00
2020-08-07 11:33:21 -07:00
2020-08-12 10:57:56 -07:00
2020-07-31 18:08:59 +10:00
2020-08-06 16:13:13 +02:00
2020-08-05 20:13:21 -07:00
2020-08-03 19:30:59 -07:00
2020-08-12 10:57:56 -07:00
2020-08-07 11:33:29 -07:00
2020-08-03 13:01:22 -07:00
2020-08-07 18:48:15 -07:00
2020-08-07 11:33:26 -07:00
2020-08-05 20:13:21 -07:00
2020-08-12 10:57:57 -07:00
2020-08-03 15:01:02 -07:00
2020-08-05 20:13:21 -07:00
2020-08-04 12:44:53 +02:00
2020-08-04 12:39:28 +02:00
2020-07-31 14:33:56 +02:00
2020-08-03 23:24:26 -07:00
2020-08-03 23:24:26 -07:00
2020-08-03 14:39:35 -07:00
2020-08-10 19:07:44 -07:00
2020-08-04 21:00:11 -07:00
2020-08-06 16:13:13 +02:00
2020-08-07 11:33:24 -07:00
2020-08-07 21:14:30 -07:00
2020-08-07 11:33:25 -07:00
2020-08-07 11:33:25 -07:00
2020-08-07 11:33:25 -07:00
2020-08-12 10:57:56 -07:00
2020-08-12 10:57:58 -07:00
2020-07-31 17:00:44 -07:00
2020-08-06 16:13:13 +02:00
2020-08-07 17:05:01 -04:00
2020-08-03 13:34:37 -04:00
2020-08-12 10:57:59 -07:00
2020-08-06 16:13:13 +02:00
2020-08-12 10:57:57 -07:00
2020-08-07 11:33:24 -07:00
2020-08-06 16:13:13 +02:00
2020-08-09 13:58:04 -07:00
2020-08-12 10:57:59 -07:00