https://github.com/torvalds/linux
Revision 16fbf79b0f83bc752cee8589279f1ebfe57b3b6e authored by Linus Torvalds on 23 March 2020, 01:31:56 UTC, committed by Linus Torvalds on 23 March 2020, 01:31:56 UTC
1 parent 67d584e
Raw File
Tip revision: 16fbf79b0f83bc752cee8589279f1ebfe57b3b6e authored by Linus Torvalds on 23 March 2020, 01:31:56 UTC
Linux 5.6-rc7
Tip revision: 16fbf79
elfcore.c
// SPDX-License-Identifier: GPL-2.0
#include <linux/elf.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/binfmts.h>
#include <linux/elfcore.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