syscalls: implement execveat() system call
[firefly-linux-kernel-4.4.55.git] / include / linux / compat.h
index e6494261eaff306b050c37c9f9be7d6becd01a0d..7450ca2ac1fc6a5d585084dadde7851ea0c35464 100644 (file)
@@ -357,6 +357,9 @@ asmlinkage long compat_sys_lseek(unsigned int, compat_off_t, unsigned int);
 
 asmlinkage long compat_sys_execve(const char __user *filename, const compat_uptr_t __user *argv,
                     const compat_uptr_t __user *envp);
+asmlinkage long compat_sys_execveat(int dfd, const char __user *filename,
+                    const compat_uptr_t __user *argv,
+                    const compat_uptr_t __user *envp, int flags);
 
 asmlinkage long compat_sys_select(int n, compat_ulong_t __user *inp,
                compat_ulong_t __user *outp, compat_ulong_t __user *exp,