dump_skip(): dump_seek() replacement taking coredump_params

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2013-10-08 09:26:08 -04:00
parent 2507a4fbd4
commit 9b56d54380
6 changed files with 22 additions and 43 deletions

View File

@@ -11,8 +11,7 @@
* functions to write out all the necessary info.
*/
struct coredump_params;
extern int dump_write(struct file *file, const void *addr, int nr);
extern int dump_seek(struct file *file, loff_t off);
extern int dump_skip(struct coredump_params *cprm, size_t nr);
extern int dump_emit(struct coredump_params *cprm, const void *addr, int nr);
#ifdef CONFIG_COREDUMP
extern void do_coredump(siginfo_t *siginfo);