diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/binfmts.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/binfmts.h b/include/linux/binfmts.h index 366422bc1633..00e2e8908953 100644 --- a/include/linux/binfmts.h +++ b/include/linux/binfmts.h | |||
@@ -132,7 +132,11 @@ extern int copy_strings_kernel(int argc, const char *const *argv, | |||
132 | struct linux_binprm *bprm); | 132 | struct linux_binprm *bprm); |
133 | extern int prepare_bprm_creds(struct linux_binprm *bprm); | 133 | extern int prepare_bprm_creds(struct linux_binprm *bprm); |
134 | extern void install_exec_creds(struct linux_binprm *bprm); | 134 | extern void install_exec_creds(struct linux_binprm *bprm); |
135 | #ifdef CONFIG_COREDUMP | ||
135 | extern void do_coredump(long signr, int exit_code, struct pt_regs *regs); | 136 | extern void do_coredump(long signr, int exit_code, struct pt_regs *regs); |
137 | #else | ||
138 | static inline void do_coredump(long signr, int exit_code, struct pt_regs *regs) {} | ||
139 | #endif | ||
136 | extern void set_binfmt(struct linux_binfmt *new); | 140 | extern void set_binfmt(struct linux_binfmt *new); |
137 | extern void free_bprm(struct linux_binprm *); | 141 | extern void free_bprm(struct linux_binprm *); |
138 | 142 | ||