summaryrefslogtreecommitdiff
path: root/fs/coredump.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-12-13 05:18:34 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2022-12-13 05:18:34 +0300
commit405b2fc66333cf12e613634d49de301658e26426 (patch)
treec50d18480bc941fcd79815ef8ab56bdd36e26205 /fs/coredump.c
parent8702f2c611bf124c48b21b5c57bfc156cd11f4ca (diff)
parent38ba2f11d9ce0e7c9444e57cb1bb418d1979534b (diff)
downloadlinux-405b2fc66333cf12e613634d49de301658e26426.tar.xz
Merge tag 'pull-elfcore' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull elf coredumping updates from Al Viro: "Unification of regset and non-regset sides of ELF coredump handling. Collecting per-thread register values is the only thing that needs to be ifdefed there..." * tag 'pull-elfcore' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: [elf] get rid of get_note_info_size() [elf] unify regset and non-regset cases [elf][non-regset] use elf_core_copy_task_regs() for dumper as well [elf][non-regset] uninline elf_core_copy_task_fpregs() (and lose pt_regs argument) elf_core_copy_task_regs(): task_pt_regs is defined everywhere [elf][regset] simplify thread list handling in fill_note_info() [elf][regset] clean fill_note_info() a bit kill extern of vsyscall32_sysctl kill coredump_params->regs kill signal_pt_regs()
Diffstat (limited to 'fs/coredump.c')
-rw-r--r--fs/coredump.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/coredump.c b/fs/coredump.c
index 3e8630c8d627..aaf7b362090c 100644
--- a/fs/coredump.c
+++ b/fs/coredump.c
@@ -529,7 +529,6 @@ void do_coredump(const kernel_siginfo_t *siginfo)
static atomic_t core_dump_count = ATOMIC_INIT(0);
struct coredump_params cprm = {
.siginfo = siginfo,
- .regs = signal_pt_regs(),
.limit = rlimit(RLIMIT_CORE),
/*
* We must use the same mm->flags while dumping core to avoid