aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/binfmts.h4
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);
133extern int prepare_bprm_creds(struct linux_binprm *bprm); 133extern int prepare_bprm_creds(struct linux_binprm *bprm);
134extern void install_exec_creds(struct linux_binprm *bprm); 134extern void install_exec_creds(struct linux_binprm *bprm);
135#ifdef CONFIG_COREDUMP
135extern void do_coredump(long signr, int exit_code, struct pt_regs *regs); 136extern void do_coredump(long signr, int exit_code, struct pt_regs *regs);
137#else
138static inline void do_coredump(long signr, int exit_code, struct pt_regs *regs) {}
139#endif
136extern void set_binfmt(struct linux_binfmt *new); 140extern void set_binfmt(struct linux_binfmt *new);
137extern void free_bprm(struct linux_binprm *); 141extern void free_bprm(struct linux_binprm *);
138 142