diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-10-09 00:00:47 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-10-09 00:00:47 +0000 |
commit | d6434e1042f3b0a6dfe1b1f615af369486f9b1fa (patch) | |
tree | e2be02f33984c48ec019c654051d27964e42c441 /include/linux/binfmts.h | |
parent | 609d1e803baf519487233b765eb487f9ec227a18 (diff) |
Merge with 2.3.19.
Diffstat (limited to 'include/linux/binfmts.h')
-rw-r--r-- | include/linux/binfmts.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/include/linux/binfmts.h b/include/linux/binfmts.h index 7ada54246..4f7fe13f7 100644 --- a/include/linux/binfmts.h +++ b/include/linux/binfmts.h @@ -38,7 +38,8 @@ struct linux_binfmt { 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 *); @@ -49,15 +50,6 @@ extern int read_exec(struct dentry *, unsigned long offset, extern int open_dentry(struct dentry *, int mode); -extern int init_elf_binfmt(void); -extern int init_elf32_binfmt(void); -extern int init_irix_binfmt(void); -extern int init_aout_binfmt(void); -extern int init_aout32_binfmt(void); -extern int init_script_binfmt(void); -extern int init_em86_binfmt(void); -extern int init_misc_binfmt(void); - extern int prepare_binprm(struct linux_binprm *); extern void remove_arg_zero(struct linux_binprm *); extern int search_binary_handler(struct linux_binprm *,struct pt_regs *); @@ -66,6 +58,7 @@ extern int setup_arg_pages(struct linux_binprm * bprm); 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 |