aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/binfmts.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/binfmts.h')
-rw-r--r--include/linux/binfmts.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/binfmts.h b/include/linux/binfmts.h
index 37935c2d2e8f..26531f32bbb2 100644
--- a/include/linux/binfmts.h
+++ b/include/linux/binfmts.h
@@ -19,6 +19,8 @@ struct pt_regs;
19 19
20#ifdef __KERNEL__ 20#ifdef __KERNEL__
21#include <linux/sched.h> 21#include <linux/sched.h>
22#include <linux/unistd.h>
23#include <asm/exec.h>
22 24
23#define CORENAME_MAX_SIZE 128 25#define CORENAME_MAX_SIZE 128
24 26
@@ -135,5 +137,9 @@ extern void install_exec_creds(struct linux_binprm *bprm);
135extern void set_binfmt(struct linux_binfmt *new); 137extern void set_binfmt(struct linux_binfmt *new);
136extern void free_bprm(struct linux_binprm *); 138extern void free_bprm(struct linux_binprm *);
137 139
140#ifdef __ARCH_WANT_KERNEL_EXECVE
141extern void ret_from_kernel_execve(struct pt_regs *normal) __noreturn;
142#endif
143
138#endif /* __KERNEL__ */ 144#endif /* __KERNEL__ */
139#endif /* _LINUX_BINFMTS_H */ 145#endif /* _LINUX_BINFMTS_H */