[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:
David Howells
2006-07-10 04:44:55 -07:00
committed by Linus Torvalds
parent b4cac1a022
commit 6d8c4e3b01
4 changed files with 694 additions and 6 deletions

View File

@@ -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,
&current->thread.user->f,
sizeof(current->thread.user->f));
return 1;
}