summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* flagday: don't pass regs to copy_thread()Al Viro2012-11-2934-60/+45
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* bfin: switch to generic vfork, get rid of pointless wrappersAl Viro2012-11-295-54/+7
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* xtensa: switch to generic clone()Al Viro2012-11-295-11/+3
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* openrisc: switch to use of generic fork and cloneAl Viro2012-11-296-66/+19
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* unicore32: switch to generic clone(2)Al Viro2012-11-294-25/+7
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* score: switch to generic fork/vfork/cloneAl Viro2012-11-296-58/+8
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* c6x: sanitize copy_thread(), get rid of clone(2) wrapper, switch to generic ↵Al Viro2012-11-294-36/+6
| | | | | | clone() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* take sys_fork/sys_vfork/sys_clone prototypes to linux/syscalls.hAl Viro2012-11-2912-63/+11
| | | | | | now it can be done... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* mn10300: switch to generic fork/vfork/cloneAl Viro2012-11-292-28/+8
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* h8300: switch to generic fork/vfork/cloneAl Viro2012-11-293-44/+6
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* tile: switch to generic clone()Al Viro2012-11-292-8/+1
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* m68k: sanitize copy_thread(), fork/vfork/clone wrappers, switch to generic ↵Al Viro2012-11-294-71/+46
| | | | | | fork/vfork Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* alpha: switch to generic fork/vfork/cloneAl Viro2012-11-294-59/+17
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* s390: switch to generic fork/vfork/cloneAl Viro2012-11-293-42/+14
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* microblaze: switch to generic fork/vfork/cloneAl Viro2012-11-297-56/+12
| | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* hexagon: switch to generic clone()Al Viro2012-11-294-52/+6
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* sh: switch to generic fork/vfork/cloneAl Viro2012-11-295-110/+11
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* parisc: switch to generic fork/vfork/cloneAl Viro2012-11-294-69/+22
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* m32r: switch to generic fork/vfork/cloneAl Viro2012-11-292-42/+7
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* cris: switch to generic fork/vfork/cloneAl Viro2012-11-294-60/+13
| | | | | | | same braindamage as on s390 - the first two arguments of clone(2) in the wrong order. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* avr32: sanitize copy_thread(), switch to generic fork/vfork/clone, kill wrappersAl Viro2012-11-294-47/+11
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* arm64: sanitize copy_thread(), switch to generic fork/vfork/cloneAl Viro2012-11-297-28/+12
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* frv: switch to generic fork/vfork/cloneAl Viro2012-11-292-40/+8
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* powerpc: switch to generic fork/clone/vforkAl Viro2012-11-294-32/+4
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* arm: switch to generic fork/vfork/cloneAl Viro2012-11-296-55/+13
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* x86, um: switch to generic fork/vfork/cloneAl Viro2012-11-2916-117/+52
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* get rid of pt_regs argument of ->load_binary()Al Viro2012-11-2912-20/+25
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* get rid of pt_regs argument of search_binary_handler()Al Viro2012-11-296-9/+8
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* get rid of pt_regs argument of do_execve_common()Al Viro2012-11-291-4/+4
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* get rid of pt_regs argument of do_execve()Al Viro2012-11-293-13/+8
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* make compat_do_execve() static, lose pt_regs argumentAl Viro2012-11-292-8/+4
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* kill stray kernel_thread() garbageAl Viro2012-11-294-6/+0
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* audit: no nested contexts anymore...Al Viro2012-11-291-81/+21
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* consolidate sys_execve() prototypeAl Viro2012-11-296-18/+3
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
*-----------------. Merge branches 'no-rebases', 'arch-avr32', 'arch-blackfin', 'arch-cris', ↵Al Viro2012-11-29165-2781/+982
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'arch-h8300', 'arch-m32r', 'arch-mn10300', 'arch-score', 'arch-sh' and 'arch-powerpc' into for-next
| | | | | | | | | | * powerpc: make fork_idle() take the common "kernel thread" path in copy_thread()Al Viro2012-10-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| | | | | | | | | | * powerpc: put the "zero usp means using parent's stack pointer" to copy_thread()Al Viro2012-10-221-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | simplifies callers, at that... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| | | | | | | | | | * powerpc: don't bother with CHECK_FULL_REGS in sys_fork() et.al.Al Viro2012-10-221-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | copy_thread() will do it anyway. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| | | | | | | | | | * powerpc: don't bother with zero-extending arguments in sys_clone()Al Viro2012-10-221-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... since the syscall glue had been doing that for 9 years already. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| | | | | | | | | | * powerpc: take dereferencing to ret_from_kernel_thread()Al Viro2012-10-222-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| | | | | | | | | | * powerpc: don't mess with r2 in copy_thread() and friendsAl Viro2012-10-152-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | kernel_thread() callbacks are *not* in modules and are not going to be there. And it's not even read in ppc32 ret_from_kernel_thread(), so no need to bother with it there either. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| | | | | | | | | | * powerpc: switch to saner kernel_execve() semanticsAl Viro2012-10-155-22/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| | | | | | | | | * | sh: convert to generic sys_execve()Al Viro2012-10-235-56/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| | | | | | | | | * | sh: switch to generic kernel_thread()/kernel_execve()Al Viro2012-10-2310-174/+71
| | | | | | | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| | | | | | | | * | score: switch to generic sys_execve()Al Viro2012-10-154-30/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| | | | | | | | * | score: switch to generic kernel_thread()/kernel_execve()Al Viro2012-10-155-72/+23
| | | | | | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| | | | | | | * / mn10300: switch to saner kernel_execve() semanticsAl Viro2012-10-153-7/+2
| | | | | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| | | | | | * | m32r: switch to generic sys_execve()Al Viro2012-11-013-36/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... and get rid of the horrors in fork()/vfork()/clone() prototypes. It's fscking faster to calculate pt_regs in question than to fetch the pointer from stack... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| | | | | | * | m32r: switch to generic kernel_thread()/kernel_execve()Al Viro2012-11-015-70/+27
| | | | | | |/ | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| | | | | * | h8300: generic sys_execve()Al Viro2012-10-152-21/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>