X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=include%2Flinux%2Felfcore.h;h=1b92a8c406242d5988c0092995aab20971aa2bae;hb=506f21c556c747bb07b893f146220ec45cda381b;hp=cdd3d13efce7c24da5e65fc3d651b1564c3a20e0;hpb=3d0ceac129f3ea0b125289055a3aa7519d38df77;p=~andy%2Flinux diff --git a/include/linux/elfcore.h b/include/linux/elfcore.h index cdd3d13efce..1b92a8c4062 100644 --- a/include/linux/elfcore.h +++ b/include/linux/elfcore.h @@ -6,6 +6,8 @@ #include #include +struct coredump_params; + static inline void elf_core_copy_regs(elf_gregset_t *elfregs, struct pt_regs *regs) { #ifdef ELF_CORE_COPY_REGS @@ -63,8 +65,7 @@ static inline int elf_core_copy_task_xfpregs(struct task_struct *t, elf_fpxregse */ extern Elf_Half elf_core_extra_phdrs(void); extern int -elf_core_write_extra_phdrs(struct file *file, loff_t offset, size_t *size, - unsigned long limit); +elf_core_write_extra_phdrs(struct coredump_params *cprm, loff_t offset); extern int elf_core_write_extra_data(struct file *file, size_t *size, unsigned long limit); extern size_t elf_core_extra_data_size(void);