Loading arch/tile/include/asm/elf.h +1 −0 Original line number Diff line number Diff line Loading @@ -148,6 +148,7 @@ extern int arch_setup_additional_pages(struct linux_binprm *bprm, #define compat_start_thread(regs, ip, usp) do { \ regs->pc = ptr_to_compat_reg((void *)(ip)); \ regs->sp = ptr_to_compat_reg((void *)(usp)); \ single_step_execve(); \ } while (0) /* Loading arch/tile/include/asm/processor.h +1 −0 Original line number Diff line number Diff line Loading @@ -211,6 +211,7 @@ static inline void start_thread(struct pt_regs *regs, { regs->pc = pc; regs->sp = usp; single_step_execve(); } /* Free all resources held by a thread. */ Loading arch/tile/include/asm/syscalls.h +2 −1 Original line number Diff line number Diff line Loading @@ -68,9 +68,10 @@ long _sys_sigaltstack(const stack_t __user *, stack_t __user *); long _sys_rt_sigreturn(void); long _sys_clone(unsigned long clone_flags, unsigned long newsp, void __user *parent_tid, void __user *child_tid); long _sys_execve(const char __user *filename, long sys_execve(const char __user *filename, const char __user *const __user *argv, const char __user *const __user *envp); #define sys_execve sys_execve #include <asm-generic/syscalls.h> Loading arch/tile/include/asm/unistd.h +1 −0 Original line number Diff line number Diff line Loading @@ -16,4 +16,5 @@ #define __ARCH_WANT_SYS_LLSEEK #endif #define __ARCH_WANT_SYS_NEWFSTATAT #define __ARCH_WANT_SYS_EXECVE #include <uapi/asm/unistd.h> arch/tile/kernel/intvec_32.S +0 −1 Original line number Diff line number Diff line Loading @@ -1476,7 +1476,6 @@ STD_ENTRY_LOCAL(bad_intr) }; \ STD_ENDPROC(_##x) PTREGS_SYSCALL(sys_execve, r3) PTREGS_SYSCALL(sys_sigaltstack, r2) PTREGS_SYSCALL_SIGRETURN(sys_rt_sigreturn, r0) PTREGS_SYSCALL(sys_cmpxchg_badaddr, r1) Loading Loading
arch/tile/include/asm/elf.h +1 −0 Original line number Diff line number Diff line Loading @@ -148,6 +148,7 @@ extern int arch_setup_additional_pages(struct linux_binprm *bprm, #define compat_start_thread(regs, ip, usp) do { \ regs->pc = ptr_to_compat_reg((void *)(ip)); \ regs->sp = ptr_to_compat_reg((void *)(usp)); \ single_step_execve(); \ } while (0) /* Loading
arch/tile/include/asm/processor.h +1 −0 Original line number Diff line number Diff line Loading @@ -211,6 +211,7 @@ static inline void start_thread(struct pt_regs *regs, { regs->pc = pc; regs->sp = usp; single_step_execve(); } /* Free all resources held by a thread. */ Loading
arch/tile/include/asm/syscalls.h +2 −1 Original line number Diff line number Diff line Loading @@ -68,9 +68,10 @@ long _sys_sigaltstack(const stack_t __user *, stack_t __user *); long _sys_rt_sigreturn(void); long _sys_clone(unsigned long clone_flags, unsigned long newsp, void __user *parent_tid, void __user *child_tid); long _sys_execve(const char __user *filename, long sys_execve(const char __user *filename, const char __user *const __user *argv, const char __user *const __user *envp); #define sys_execve sys_execve #include <asm-generic/syscalls.h> Loading
arch/tile/include/asm/unistd.h +1 −0 Original line number Diff line number Diff line Loading @@ -16,4 +16,5 @@ #define __ARCH_WANT_SYS_LLSEEK #endif #define __ARCH_WANT_SYS_NEWFSTATAT #define __ARCH_WANT_SYS_EXECVE #include <uapi/asm/unistd.h>
arch/tile/kernel/intvec_32.S +0 −1 Original line number Diff line number Diff line Loading @@ -1476,7 +1476,6 @@ STD_ENTRY_LOCAL(bad_intr) }; \ STD_ENDPROC(_##x) PTREGS_SYSCALL(sys_execve, r3) PTREGS_SYSCALL(sys_sigaltstack, r2) PTREGS_SYSCALL_SIGRETURN(sys_rt_sigreturn, r0) PTREGS_SYSCALL(sys_cmpxchg_badaddr, r1) Loading