root/kernel/elfcore.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. elf_core_extra_phdrs
  2. elf_core_write_extra_phdrs
  3. elf_core_write_extra_data
  4. elf_core_extra_data_size

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

/* [<][>][^][v][top][bottom][index][help] */