diff options
-rw-r--r-- | fs/exec.c | 4 | ||||
-rw-r--r-- | include/linux/binfmts.h | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -1686,7 +1686,7 @@ int get_dumpable(struct mm_struct *mm) | |||
1686 | return (ret >= 2) ? 2 : ret; | 1686 | return (ret >= 2) ? 2 : ret; |
1687 | } | 1687 | } |
1688 | 1688 | ||
1689 | int do_coredump(long signr, int exit_code, struct pt_regs * regs) | 1689 | void do_coredump(long signr, int exit_code, struct pt_regs *regs) |
1690 | { | 1690 | { |
1691 | struct core_state core_state; | 1691 | struct core_state core_state; |
1692 | char corename[CORENAME_MAX_SIZE + 1]; | 1692 | char corename[CORENAME_MAX_SIZE + 1]; |
@@ -1842,5 +1842,5 @@ fail_unlock: | |||
1842 | put_cred(cred); | 1842 | put_cred(cred); |
1843 | coredump_finish(mm); | 1843 | coredump_finish(mm); |
1844 | fail: | 1844 | fail: |
1845 | return retval; | 1845 | return; |
1846 | } | 1846 | } |
diff --git a/include/linux/binfmts.h b/include/linux/binfmts.h index 0d0150b4901e..77b4a9e46004 100644 --- a/include/linux/binfmts.h +++ b/include/linux/binfmts.h | |||
@@ -107,7 +107,7 @@ extern int setup_arg_pages(struct linux_binprm * bprm, | |||
107 | extern int bprm_mm_init(struct linux_binprm *bprm); | 107 | extern int bprm_mm_init(struct linux_binprm *bprm); |
108 | extern int copy_strings_kernel(int argc,char ** argv,struct linux_binprm *bprm); | 108 | extern int copy_strings_kernel(int argc,char ** argv,struct linux_binprm *bprm); |
109 | extern void install_exec_creds(struct linux_binprm *bprm); | 109 | extern void install_exec_creds(struct linux_binprm *bprm); |
110 | extern int do_coredump(long signr, int exit_code, struct pt_regs * regs); | 110 | extern void do_coredump(long signr, int exit_code, struct pt_regs *regs); |
111 | extern int set_binfmt(struct linux_binfmt *new); | 111 | extern int set_binfmt(struct linux_binfmt *new); |
112 | extern void free_bprm(struct linux_binprm *); | 112 | extern void free_bprm(struct linux_binprm *); |
113 | 113 | ||