|
@@ -6,6 +6,8 @@
|
|
|
#include <asm/exec.h>
|
|
|
#include <uapi/linux/binfmts.h>
|
|
|
|
|
|
+struct filename;
|
|
|
+
|
|
|
#define CORENAME_MAX_SIZE 128
|
|
|
|
|
|
/*
|
|
@@ -123,4 +125,12 @@ extern void install_exec_creds(struct linux_binprm *bprm);
|
|
|
extern void set_binfmt(struct linux_binfmt *new);
|
|
|
extern ssize_t read_code(struct file *, unsigned long, loff_t, size_t);
|
|
|
|
|
|
+extern int do_execve(struct filename *,
|
|
|
+ const char __user * const __user *,
|
|
|
+ const char __user * const __user *);
|
|
|
+extern int do_execveat(int, struct filename *,
|
|
|
+ const char __user * const __user *,
|
|
|
+ const char __user * const __user *,
|
|
|
+ int);
|
|
|
+
|
|
|
#endif /* _LINUX_BINFMTS_H */
|