diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2012-09-10 16:11:46 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2012-10-17 14:41:51 +0100 |
commit | 6a872777ffff6184f4ac10bd71d926d5e6f2491e (patch) | |
tree | 81d85fc98bda389e61481d4963f2af554b1a0ffe /arch/arm64/kernel/sys_compat.c | |
parent | 59dc67b0cc35cd93c3f4869fdd0d6cfb2a26ecbc (diff) | |
download | linux-stable-6a872777ffff6184f4ac10bd71d926d5e6f2491e.tar.gz linux-stable-6a872777ffff6184f4ac10bd71d926d5e6f2491e.tar.bz2 linux-stable-6a872777ffff6184f4ac10bd71d926d5e6f2491e.zip |
arm64: Use generic sys_execve() implementation
This patch converts the arm64 port to use the generic sys_execve()
implementation removing the arm64-specific (compat_)sys_execve_wrapper()
functions.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel/sys_compat.c')
-rw-r--r-- | arch/arm64/kernel/sys_compat.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/arm64/kernel/sys_compat.c b/arch/arm64/kernel/sys_compat.c index 906e3bd270b0..d140b73a8bc4 100644 --- a/arch/arm64/kernel/sys_compat.c +++ b/arch/arm64/kernel/sys_compat.c @@ -49,24 +49,6 @@ asmlinkage int compat_sys_vfork(struct pt_regs *regs) regs, 0, NULL, NULL); } -asmlinkage int compat_sys_execve(const char __user *filenamei, - compat_uptr_t argv, compat_uptr_t envp, - struct pt_regs *regs) -{ - int error; - struct filename *filename; - - filename = getname(filenamei); - error = PTR_ERR(filename); - if (IS_ERR(filename)) - goto out; - error = compat_do_execve(filename->name, compat_ptr(argv), - compat_ptr(envp), regs); - putname(filename); -out: - return error; -} - asmlinkage int compat_sys_sched_rr_get_interval(compat_pid_t pid, struct compat_timespec __user *interval) { |