diff options
Diffstat (limited to 'include/linux/coredump.h')
| -rw-r--r-- | include/linux/coredump.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/linux/coredump.h b/include/linux/coredump.h index a98f1ca60407..d016a121a8c4 100644 --- a/include/linux/coredump.h +++ b/include/linux/coredump.h | |||
| @@ -10,12 +10,14 @@ | |||
| 10 | * These are the only things you should do on a core-file: use only these | 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. | 11 | * functions to write out all the necessary info. |
| 12 | */ | 12 | */ |
| 13 | extern int dump_write(struct file *file, const void *addr, int nr); | 13 | struct coredump_params; |
| 14 | extern int dump_seek(struct file *file, loff_t off); | 14 | extern int dump_skip(struct coredump_params *cprm, size_t nr); |
| 15 | extern int dump_emit(struct coredump_params *cprm, const void *addr, int nr); | ||
| 16 | extern int dump_align(struct coredump_params *cprm, int align); | ||
| 15 | #ifdef CONFIG_COREDUMP | 17 | #ifdef CONFIG_COREDUMP |
| 16 | extern void do_coredump(siginfo_t *siginfo); | 18 | extern void do_coredump(const siginfo_t *siginfo); |
| 17 | #else | 19 | #else |
| 18 | static inline void do_coredump(siginfo_t *siginfo) {} | 20 | static inline void do_coredump(const siginfo_t *siginfo) {} |
| 19 | #endif | 21 | #endif |
| 20 | 22 | ||
| 21 | #endif /* _LINUX_COREDUMP_H */ | 23 | #endif /* _LINUX_COREDUMP_H */ |
