Merge branch 'for-4.7-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj...
[deliverable/linux.git] / include / linux / coredump.h
... / ...
CommitLineData
1#ifndef _LINUX_COREDUMP_H
2#define _LINUX_COREDUMP_H
3
4#include <linux/types.h>
5#include <linux/mm.h>
6#include <linux/fs.h>
7#include <asm/siginfo.h>
8
9/*
10 * These are the only things you should do on a core-file: use only these
11 * functions to write out all the necessary info.
12 */
13struct coredump_params;
14extern int dump_skip(struct coredump_params *cprm, size_t nr);
15extern int dump_emit(struct coredump_params *cprm, const void *addr, int nr);
16extern int dump_align(struct coredump_params *cprm, int align);
17#ifdef CONFIG_COREDUMP
18extern void do_coredump(const siginfo_t *siginfo);
19#else
20static inline void do_coredump(const siginfo_t *siginfo) {}
21#endif
22
23#endif /* _LINUX_COREDUMP_H */
This page took 0.12614 seconds and 5 git commands to generate.