@@ -79,6 +79,7 @@ out:
return error;
}
+asmlinkage
int kernel_execve(const char *filename,
const char *const argv[],
const char *const envp[])
@@ -7,6 +7,7 @@
*/
#include <linux/unistd.h>
+asmlinkage
int kernel_execve(const char *file,
const char *const *argv,
const char *const *envp)
@@ -93,6 +93,7 @@ asmlinkage int sys_cachectl(char *addr, int nbytes, int op)
* Do a system call from kernel instead of calling sys_execve so we
* end up with proper pt_regs.
*/
+asmlinkage
int kernel_execve(const char *filename,
const char *const argv[],
const char *const envp[])
@@ -80,6 +80,7 @@ asmlinkage long sys_mmap(unsigned long addr, unsigned long len,
* Do a system call from kernel instead of calling sys_execve so we
* end up with proper pt_regs.
*/
+asmlinkage
int kernel_execve(const char *filename,
const char *const argv[],
const char *const envp[])
@@ -318,6 +318,7 @@ asmlinkage void bad_stack(void)
* Do a system call from kernel instead of calling sys_execve so we
* end up with proper pt_regs.
*/
+asmlinkage
int kernel_execve(const char *filename,
const char *const argv[],
const char *const envp[])
@@ -358,6 +358,7 @@ out:
extern int __execve(const char *filename,
const char *const argv[],
const char *const envp[], struct task_struct *task);
+asmlinkage
int kernel_execve(const char *filename,
const char *const argv[],
const char *const envp[])
@@ -71,6 +71,7 @@ asmlinkage int sys_fadvise64_64_wrapper(int fd, u32 offset0, u32 offset1,
* Do a system call from kernel instead of calling sys_execve so we
* end up with proper pt_regs.
*/
+asmlinkage
int kernel_execve(const char *filename,
const char *const argv[],
const char *const envp[])
@@ -33,6 +33,7 @@
* Do a system call from kernel instead of calling sys_execve so we
* end up with proper pt_regs.
*/
+asmlinkage
int kernel_execve(const char *filename,
const char *const argv[],
const char *const envp[])
@@ -263,6 +263,7 @@ out:
* Do a system call from kernel instead of calling sys_execve so we
* end up with proper pt_regs.
*/
+asmlinkage
int kernel_execve(const char *filename,
const char *const argv[],
const char *const envp[])
@@ -734,6 +734,7 @@ SYSCALL_DEFINE5(rt_sigaction, int, sig, const struct sigaction __user *, act,
* Do a system call from kernel instead of calling sys_execve so we
* end up with proper pt_regs.
*/
+asmlinkage
int kernel_execve(const char *filename,
const char *const argv[],
const char *const envp[])
@@ -51,6 +51,7 @@ long old_mmap(unsigned long addr, unsigned long len,
return err;
}
+asmlinkage
int kernel_execve(const char *filename,
const char *const argv[],
const char *const envp[])
@@ -63,6 +63,7 @@ out:
return error;
}
+asmlinkage
int kernel_execve(const char *filename,
const char *const argv[],
const char *const envp[])
@@ -28,7 +28,7 @@
* Do a system call from kernel instead of calling sys_execve so we
* end up with proper pt_regs.
*/
-int kernel_execve(const char *filename,
+asmlinkage int kernel_execve(const char *filename,
const char *const argv[],
const char *const envp[])
{
@@ -827,6 +827,7 @@ asmlinkage long sys_fanotify_mark(int fanotify_fd, unsigned int flags,
const char __user *pathname);
asmlinkage long sys_syncfs(int fd);
+asmlinkage
int kernel_execve(const char *filename, const char *const argv[], const char *const envp[]);