[PATCH] FDPIC: Add coredump capability for the ELF-FDPIC binfmt
Add coredump capability for the ELF-FDPIC binfmt. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
b4cac1a022
commit
6d8c4e3b01
@@ -371,3 +371,11 @@ int elf_check_arch(const struct elf32_hdr *hdr)
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpregs)
|
||||
{
|
||||
memcpy(fpregs,
|
||||
¤t->thread.user->f,
|
||||
sizeof(current->thread.user->f));
|
||||
return 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user