patch-2.3.12 linux/include/linux/binfmts.h
Next file: linux/include/linux/file.h
Previous file: linux/include/linux/arcdevice.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Jul 28 13:56:37 1999
- Orig file:
v2.3.11/linux/include/linux/binfmts.h
- Orig date:
Wed Jun 30 13:38:20 1999
diff -u --recursive --new-file v2.3.11/linux/include/linux/binfmts.h linux/include/linux/binfmts.h
@@ -38,7 +38,8 @@
struct module *module;
int (*load_binary)(struct linux_binprm *, struct pt_regs * regs);
int (*load_shlib)(int fd);
- int (*core_dump)(long signr, struct pt_regs * regs);
+ int (*core_dump)(long signr, struct pt_regs * regs, struct file * file);
+ unsigned long min_coredump; /* minimal dump size */
};
extern int register_binfmt(struct linux_binfmt *);
@@ -66,6 +67,7 @@
extern int copy_strings(int argc,char ** argv,struct linux_binprm *bprm);
extern int copy_strings_kernel(int argc,char ** argv,struct linux_binprm *bprm);
extern void compute_creds(struct linux_binprm *binprm);
+extern int do_coredump(long signr, struct pt_regs * regs);
#if 0
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)