linux/arch/arm64/kernel
Linus Torvalds 9977d9b379 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal
Pull big execve/kernel_thread/fork unification series from Al Viro:
 "All architectures are converted to new model.  Quite a bit of that
  stuff is actually shared with architecture trees; in such cases it's
  literally shared branch pulled by both, not a cherry-pick.

  A lot of ugliness and black magic is gone (-3KLoC total in this one):

   - kernel_thread()/kernel_execve()/sys_execve() redesign.

     We don't do syscalls from kernel anymore for either kernel_thread()
     or kernel_execve():

     kernel_thread() is essentially clone(2) with callback run before we
     return to userland, the callbacks either never return or do
     successful do_execve() before returning.

     kernel_execve() is a wrapper for do_execve() - it doesn't need to
     do transition to user mode anymore.

     As a result kernel_thread() and kernel_execve() are
     arch-independent now - they live in kernel/fork.c and fs/exec.c
     resp.  sys_execve() is also in fs/exec.c and it's completely
     architecture-independent.

   - daemonize() is gone, along with its parts in fs/*.c

   - struct pt_regs * is no longer passed to do_fork/copy_process/
     copy_thread/do_execve/search_binary_handler/->load_binary/do_coredump.

   - sys_fork()/sys_vfork()/sys_clone() unified; some architectures
     still need wrappers (ones with callee-saved registers not saved in
     pt_regs on syscall entry), but the main part of those suckers is in
     kernel/fork.c now."

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal: (113 commits)
  do_coredump(): get rid of pt_regs argument
  print_fatal_signal(): get rid of pt_regs argument
  ptrace_signal(): get rid of unused arguments
  get rid of ptrace_signal_deliver() arguments
  new helper: signal_pt_regs()
  unify default ptrace_signal_deliver
  flagday: kill pt_regs argument of do_fork()
  death to idle_regs()
  don't pass regs to copy_process()
  flagday: don't pass regs to copy_thread()
  bfin: switch to generic vfork, get rid of pointless wrappers
  xtensa: switch to generic clone()
  openrisc: switch to use of generic fork and clone
  unicore32: switch to generic clone(2)
  score: switch to generic fork/vfork/clone
  c6x: sanitize copy_thread(), get rid of clone(2) wrapper, switch to generic clone()
  take sys_fork/sys_vfork/sys_clone prototypes to linux/syscalls.h
  mn10300: switch to generic fork/vfork/clone
  h8300: switch to generic fork/vfork/clone
  tile: switch to generic clone()
  ...

Conflicts:
	arch/microblaze/include/asm/Kbuild
2012-12-12 12:22:13 -08:00
..
vdso arm64: generic timer: use virtual counter instead of physical at EL0 2012-12-05 11:20:04 +00:00
.gitignore arm64: Build infrastructure 2012-09-17 13:42:21 +01:00
arm64ksyms.c arm64: Miscellaneous library functions 2012-09-17 13:42:18 +01:00
asm-offsets.c arm64: Assembly macros and definitions 2012-09-17 10:24:44 +01:00
cputable.c arm64: CPU support 2012-09-17 13:41:59 +01:00
debug-monitors.c arm64: Debugging support 2012-09-17 13:42:14 +01:00
entry-fpsimd.S arm64: move FP-SIMD save/restore code to a macro 2012-12-05 11:26:50 +00:00
entry.S arm64: move vector entry macro to assembler.h 2012-12-05 11:26:47 +00:00
fpsimd.c arm64: Floating point and SIMD 2012-09-17 13:42:13 +01:00
head.S arm64: hyp: initialize vttbr_el2 to zero 2012-12-05 11:26:50 +00:00
hw_breakpoint.c arm64: Debugging support 2012-09-17 13:42:14 +01:00
hyp-stub.S arm64: add hypervisor stub 2012-12-05 11:26:49 +00:00
io.c arm64: Device specific operations 2012-09-17 13:42:04 +01:00
irq.c arm64: IRQ handling 2012-09-17 13:42:02 +01:00
kuser32.S arm64: 32-bit (compat) applications support 2012-09-17 13:42:12 +01:00
Makefile arm64: add hypervisor stub 2012-12-05 11:26:49 +00:00
module.c arm64: Loadable modules 2012-09-17 13:42:19 +01:00
perf_event.c arm64: perf: use architected event for CPU cycle counter 2012-11-08 16:06:19 +00:00
process.c flagday: don't pass regs to copy_thread() 2012-11-28 23:43:42 -05:00
ptrace.c arm64: ptrace: use HW_BREAKPOINT_EMPTY type for disabled breakpoints 2012-10-18 20:15:34 +01:00
setup.c arm64: Ignore memory blocks below PHYS_OFFSET 2012-10-18 20:14:00 +01:00
signal32.c arm64: signal: let the compiler inline compat_get_sigframe 2012-11-23 18:11:38 +00:00
signal.c arm64: signal: return struct rt_sigframe from get_sigframe 2012-11-23 18:11:37 +00:00
smp.c arm64: smp: add missing completion for secondary boot 2012-11-08 16:06:21 +00:00
stacktrace.c arm64: Exception handling 2012-09-17 10:24:46 +01:00
sys32.S arm64: get rid of fork/vfork/clone wrappers 2012-10-22 18:14:17 -04:00
sys_compat.c arm64: sanitize copy_thread(), switch to generic fork/vfork/clone 2012-11-28 22:36:33 -05:00
sys.c arm64: sanitize copy_thread(), switch to generic fork/vfork/clone 2012-11-28 22:36:33 -05:00
time.c arm64: Generic timers support 2012-09-17 13:42:20 +01:00
traps.c arm64: Exception handling 2012-09-17 10:24:46 +01:00
vdso.c arm64: vdso: defer shifting of nanosecond component of timespec 2012-12-05 11:20:03 +00:00
vmlinux.lds.S arm64: Build infrastructure 2012-09-17 13:42:21 +01:00