]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: switch to generic sys_execve()/kernel_execve()
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 31 Aug 2012 19:48:05 +0000 (15:48 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 1 Oct 2012 03:35:51 +0000 (23:35 -0400)
commit0379b571c253994668b0e42777cbf3a952de701f
treee6b9ba23767a93839c5e4e14f197d4781bf95cf4
parentde6e4fc8110ede926bbecbf35b612aa01f73879f
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>
arch/powerpc/include/asm/ptrace.h
arch/powerpc/include/asm/syscalls.h
arch/powerpc/include/asm/unistd.h
arch/powerpc/kernel/entry_32.S
arch/powerpc/kernel/entry_64.S
arch/powerpc/kernel/misc.S
arch/powerpc/kernel/process.c
arch/powerpc/kernel/sys_ppc32.c