summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-11-29c6x: sanitize copy_thread(), get rid of clone(2) wrapper, switch to generic ↵Al Viro4-36/+6
clone() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29take sys_fork/sys_vfork/sys_clone prototypes to linux/syscalls.hAl Viro12-63/+11
now it can be done... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29mn10300: switch to generic fork/vfork/cloneAl Viro2-28/+8
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29h8300: switch to generic fork/vfork/cloneAl Viro3-44/+6
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29tile: switch to generic clone()Al Viro2-8/+1
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29m68k: sanitize copy_thread(), fork/vfork/clone wrappers, switch to generic ↵Al Viro4-71/+46
fork/vfork Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29alpha: switch to generic fork/vfork/cloneAl Viro4-59/+17
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29s390: switch to generic fork/vfork/cloneAl Viro3-42/+14
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29microblaze: switch to generic fork/vfork/cloneAl Viro7-56/+12
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
2012-11-29hexagon: switch to generic clone()Al Viro4-52/+6
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29sh: switch to generic fork/vfork/cloneAl Viro5-110/+11
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29parisc: switch to generic fork/vfork/cloneAl Viro4-69/+22
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29m32r: switch to generic fork/vfork/cloneAl Viro2-42/+7
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29cris: switch to generic fork/vfork/cloneAl Viro4-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>
2012-11-29avr32: sanitize copy_thread(), switch to generic fork/vfork/clone, kill wrappersAl Viro4-47/+11
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29arm64: sanitize copy_thread(), switch to generic fork/vfork/cloneAl Viro7-28/+12
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29frv: switch to generic fork/vfork/cloneAl Viro2-40/+8
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29powerpc: switch to generic fork/clone/vforkAl Viro4-32/+4
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29arm: switch to generic fork/vfork/cloneAl Viro6-55/+13
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29x86, um: switch to generic fork/vfork/cloneAl Viro16-117/+52
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29get rid of pt_regs argument of ->load_binary()Al Viro12-20/+25
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29get rid of pt_regs argument of search_binary_handler()Al Viro6-9/+8
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29get rid of pt_regs argument of do_execve_common()Al Viro1-4/+4
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29get rid of pt_regs argument of do_execve()Al Viro3-13/+8
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29make compat_do_execve() static, lose pt_regs argumentAl Viro2-8/+4
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29kill stray kernel_thread() garbageAl Viro4-6/+0
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29audit: no nested contexts anymore...Al Viro1-81/+21
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29consolidate sys_execve() prototypeAl Viro6-18/+3
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29Merge branches 'no-rebases', 'arch-avr32', 'arch-blackfin', 'arch-cris', ↵Al Viro165-2781/+982
'arch-h8300', 'arch-m32r', 'arch-mn10300', 'arch-score', 'arch-sh' and 'arch-powerpc' into for-next
2012-11-29generic sys_fork / sys_vfork / sys_cloneAl Viro3-4/+60
... and get rid of idiotic struct pt_regs * in asm-generic/syscalls.h prototypes of the same, while we are at it. Eventually we want those in linux/syscalls.h, of course, but that'll have to wait a bit. Note that there are *three* variants of sys_clone() order of arguments. Braindamage galore... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29alpha: reorganize copy_process(), prepare to saner fork_idle()Al Viro1-21/+14
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29alpha: don't pass useless arguments to do_{,rt_},sigreturn()Al Viro2-12/+8
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29alpha: simplify fork and friendsAl Viro2-19/+14
* no need to restore everything from switch_stack when we only need $26 * no need to pass current_pt_regs() manually, we can just as easily calculate it in alpha_clone/alpha_vfork ($8 + constant) * interpretation of zero usp as "use the parent's" is simpler in copy_thread(); let fork and vfork just pass 0. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29um: don't bother looking at regs in copy_thread() - current_pt_regs() is ↵Al Viro1-1/+1
what we'll get Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29um: don't bother with passing sp to do_fork() for fork(2)/vfork(2)Al Viro1-6/+2
copy_thread() on um will do the right thing when getting 0 for sp... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29kill daemonize()Al Viro7-128/+1
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29microblaze: rt_sigreturn is too trigger-happy about sigaltstack errorsAl Viro1-1/+1
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29score: do_sigaltstack() expects a userland pointer...Al Viro1-5/+2
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29sh64: fix altstack switching on sigreturnAl Viro1-4/+2
incidentally, declaring a local variable as __user (!) to make sparse STFU is really sick. Especially since sparse had been 100% right - it *is* a bug. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29openrisk: fix altstack switching on sigreturnAl Viro1-4/+2
do_sigaltstack() expects _userland_ address, TYVM... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29um: get_safe_registers() should be done in flush_thread(), not start_thread()Al Viro1-1/+2
... or we'll end up buggering the results of ELF_PLAT_INIT() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-29Merge branch 'arch-tile' into no-rebasesAl Viro1-1/+1
2012-11-29tile: compat rt_sigreturn gets too enthusiastic about sigaltstack errorsAl Viro1-1/+1
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-26Linux 3.7-rc7v3.7-rc7Linus Torvalds1-1/+1
2012-11-26Merge branch 'merge' of ↵Linus Torvalds2-2/+3
git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc Pull powerpc EEH bugfixes from Benjamin Herrenschmidt. Two one-liner fixes for the new EEH code. * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: powerpc/eeh: Do not invalidate PE properly powerpc/pseries: Fix oops with MSIs when missing EEH PEs
2012-11-26Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linusLinus Torvalds3-12/+41
Pull MIPS fixes from Ralf Baechle: "Three issues fixed accross the field: - Some functions that were recently outlined as part of a preemption fix were causing problems with function tracing. - The recently merged in-kernel MPI library uses very outdated headers that contain MIPS-specific code which won't build on with gcc 4.4 or newer. - The MIPS non-NUMA memory initialization was making only a very half-baked attempt at merging adjacent memory ranges. This kept the code simple enough but is now causing issues with kexec." * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: MPI: Fix compilation on MIPS with GCC 4.4 and newer MIPS: Fix crash that occurs when function tracing is enabled MIPS: Merge overlapping bootmem ranges
2012-11-26powerpc/eeh: Do not invalidate PE properlyGavin Shan1-1/+1
While the EEH does recovery on the specific PE that has PCI errors, the PCI devices belonging to the PE will be removed and the PE will be marked as invalid since we still need the information stored in the PE. We only invalidate the PE when it doesn't have associated EEH devices and valid child PEs. However, the code used to check that is wrong. The patch fixes that. Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2012-11-24Merge tag 'sound-3.7' of ↵Linus Torvalds1-2/+4
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound Pull sound build error fix from Takashi Iwai: "Only a single commit for fixing the build error without CONFIG_PM in hda driver." * tag 'sound-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: ALSA: hda - Fix build without CONFIG_PM
2012-11-24ALSA: hda - Fix build without CONFIG_PMTakashi Iwai1-2/+4
I forgot this again... codec->in_pm is in #ifdef CONFIG_PM Reported-by: Markus Trippelsdorf <markus@trippelsdorf.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-11-24Merge branch 'x86-urgent-for-linus' of ↵Linus Torvalds16-49/+131
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip Pull x86 arch fixes from Peter Anvin: "Here is a collection of fixes for 3.7-rc7. This is a superset of tglx' earlier pull request." * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86-64: Fix ordering of CFI directives and recent ASM_CLAC additions x86, microcode, AMD: Add support for family 16h processors x86-32: Export kernel_stack_pointer() for modules x86-32: Fix invalid stack address while in softirq x86, efi: Fix processor-specific memcpy() build error x86: remove dummy long from EFI stub x86, mm: Correct vmflag test for checking VM_HUGETLB x86, amd: Disable way access filter on Piledriver CPUs x86/mce: Do not change worker's running cpu in cmci_rediscover(). x86/ce4100: Fix PCI configuration register access for devices without interrupts x86/ce4100: Fix reboot by forcing the reboot method to be KBD x86/ce4100: Fix pm_poweroff MAINTAINERS: Update email address for Robert Richter x86, microcode_amd: Change email addresses, MAINTAINERS entry MAINTAINERS: Change Boris' email address EDAC: Change Boris' email address x86, AMD: Change Boris' email address