scsi: scsi_debug: Fix memory leak if LBP enabled and module is unloaded
[linux/fpc-iii.git] / kernel / elfcore.c
blobe556751d15d944d3ee51706bacb6d431979fe541
1 #include <linux/elf.h>
2 #include <linux/fs.h>
3 #include <linux/mm.h>
4 #include <linux/binfmts.h>
6 Elf_Half __weak elf_core_extra_phdrs(void)
8 return 0;
11 int __weak elf_core_write_extra_phdrs(struct coredump_params *cprm, loff_t offset)
13 return 1;
16 int __weak elf_core_write_extra_data(struct coredump_params *cprm)
18 return 1;
21 size_t __weak elf_core_extra_data_size(void)
23 return 0;