diff options
| author | Christoph Hellwig <[email protected]> | 2020-05-05 10:12:53 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2020-05-05 20:46:09 +0000 |
| commit | c3b3f52476412a3899f2c65b220075aceb18dd2c (patch) | |
| tree | 00314d287eac059d9a74b4dd57b761d9943a1742 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | powerpc/spufs: simplify spufs core dumping (diff) | |
| download | kernel-c3b3f52476412a3899f2c65b220075aceb18dd2c.tar.gz kernel-c3b3f52476412a3899f2c65b220075aceb18dd2c.zip | |
signal: refactor copy_siginfo_to_user32
Factor out a copy_siginfo_to_external32 helper from
copy_siginfo_to_user32 that fills out the compat_siginfo, but does so
on a kernel space data structure. With that we can let architectures
override copy_siginfo_to_user32 with their own implementations using
copy_siginfo_to_external32. That allows moving the x32 SIGCHLD purely
to x86 architecture code.
As a nice side effect copy_siginfo_to_external32 also comes in handy
for avoiding a set_fs() call in the coredump code later on.
Contains improvements from Eric W. Biederman <[email protected]>
and Arnd Bergmann <[email protected]>.
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
