https://github.com/torvalds/linux
Raw File
Tip revision: 7566ec393f4161572ba6f11ad5171fd5d59b0fbd authored by Linus Torvalds on 16 December 2018, 23:46:55 UTC
Linux 4.20-rc7
Tip revision: 7566ec3
elfcore.c
// SPDX-License-Identifier: GPL-2.0
#include <linux/elf.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/binfmts.h>

Elf_Half __weak elf_core_extra_phdrs(void)
{
	return 0;
}

int __weak elf_core_write_extra_phdrs(struct coredump_params *cprm, loff_t offset)
{
	return 1;
}

int __weak elf_core_write_extra_data(struct coredump_params *cprm)
{
	return 1;
}

size_t __weak elf_core_extra_data_size(void)
{
	return 0;
}
back to top