1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-17 20:10:49 +00:00
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-08-03 18:19:23 -07:00
2020-08-07 12:58:11 -07:00
2020-08-06 16:43:36 -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-03 19:30:59 -07:00
2020-08-05 11:12:34 -07:00
2020-08-03 11:57:03 -07:00
2020-08-05 13:02:45 -07:00
2020-08-07 12:41:36 -07:00
2020-08-12 10:57:57 -07:00
2020-08-04 21:02:38 -04:00
2020-08-07 18:29:15 -07:00
2020-08-06 12:59:31 -07:00
2020-08-12 10:57:57 -07:00
2020-07-31 18:08:59 +10:00
2020-08-03 19:30:59 -07:00
2020-08-03 13:01:22 -07:00
2020-08-07 18:48:15 -07:00
2020-08-10 19:07:44 -07:00
2020-08-07 11:33:24 -07:00
2020-08-09 13:58:04 -07:00
2020-08-12 10:57:59 -07:00