aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro2012-08-31 14:48:05 -0500
committerAl Viro2012-09-30 22:35:51 -0500
commitbe6abfa769fa07ce89ac73273360b335ae978805 (patch)
treee6b9ba23767a93839c5e4e14f197d4781bf95cf4 /arch/powerpc/include/asm/unistd.h
parent58254e1002a82eb383c5977ad9fd5a451b91fe29 (diff)
downloadam43-linux-kernel-be6abfa769fa07ce89ac73273360b335ae978805.tar.gz
am43-linux-kernel-be6abfa769fa07ce89ac73273360b335ae978805.tar.xz
am43-linux-kernel-be6abfa769fa07ce89ac73273360b335ae978805.zip
powerpc: switch to generic sys_execve()/kernel_execve()
the only non-obvious part is that current_pt_regs() is really needed here - task_pt_regs() is NULL for kernel threads; it's OK for ptrace uses (the thing task_pt_regs() is intended for), but not for us. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/powerpc/include/asm/unistd.h')
-rw-r--r--arch/powerpc/include/asm/unistd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/unistd.h b/arch/powerpc/include/asm/unistd.h
index bd377a36861..26a6825909b 100644
--- a/arch/powerpc/include/asm/unistd.h
+++ b/arch/powerpc/include/asm/unistd.h
@@ -420,6 +420,8 @@
420#define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND 420#define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND
421#define __ARCH_WANT_SYS_NEWFSTATAT 421#define __ARCH_WANT_SYS_NEWFSTATAT
422#endif 422#endif
423#define __ARCH_WANT_SYS_EXECVE
424#define __ARCH_WANT_KERNEL_EXECVE
423 425
424/* 426/*
425 * "Conditional" syscalls 427 * "Conditional" syscalls