aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2020-08-11 18:34:10 -0700
committerLinus Torvalds <[email protected]>2020-08-12 10:57:59 -0700
commit8043fc147a97ec2eefc582487f344f2cbe86d12e (patch)
tree05be60738ff9974830290aa6a4459336ecdd45d9 /lib/test_overflow.c
parentf48ff83e9c1a8fc2e8bfedb4855933eb1ed159b2 (diff)
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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Acked-by: "Eric W. Biederman" <[email protected]> Cc: Luis Chamberlain <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions