Blame view
kernel/elfcore.c
459 Bytes
b24413180
|
1 |
// SPDX-License-Identifier: GPL-2.0 |
1fcccbac8
|
2 3 4 |
#include <linux/elf.h> #include <linux/fs.h> #include <linux/mm.h> |
506f21c55
|
5 |
#include <linux/binfmts.h> |
0f7491407
|
6 |
#include <linux/elfcore.h> |
1fcccbac8
|
7 8 9 10 11 |
Elf_Half __weak elf_core_extra_phdrs(void) { return 0; } |
506f21c55
|
12 |
int __weak elf_core_write_extra_phdrs(struct coredump_params *cprm, loff_t offset) |
1fcccbac8
|
13 14 15 |
{ return 1; } |
506f21c55
|
16 |
int __weak elf_core_write_extra_data(struct coredump_params *cprm) |
1fcccbac8
|
17 18 19 |
{ return 1; } |
8d9032bbe
|
20 21 22 23 24 |
size_t __weak elf_core_extra_data_size(void) { return 0; } |