mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
switch elf_core_write_extra_phdrs() to dump_emit()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
ecc8c7725e
commit
506f21c556
6 changed files with 15 additions and 21 deletions
|
@ -6,6 +6,8 @@
|
|||
#include <asm/elf.h>
|
||||
#include <uapi/linux/elfcore.h>
|
||||
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue