| #ifndef _LINUX_COREDUMP_H |
| #define _LINUX_COREDUMP_H |
| * These are the only things you should do on a core-file: use only these |
| * functions to write out all the necessary info. |
| extern int dump_skip(struct coredump_params *cprm, size_t nr); |
| extern int dump_emit(struct coredump_params *cprm, const void *addr, int nr); |
| extern int dump_align(struct coredump_params *cprm, int align); |
| extern void do_coredump(const siginfo_t *siginfo); |
| static inline void do_coredump(const siginfo_t *siginfo) {} |
| #endif /* _LINUX_COREDUMP_H */ |