• Linus Torvalds's avatar
    Merge branch 'work.sys_wait' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 4be95131
    Linus Torvalds authored
    Pull wait syscall updates from Al Viro:
     "Consolidating sys_wait* and compat counterparts.
    
      Gets rid of set_fs()/double-copy mess, simplifies the whole thing
      (lifting the copyouts to the syscalls means less headache in the part
      that does actual work - fewer failure exits, to start with), gets rid
      of the overhead of field-by-field __put_user()"
    
    * 'work.sys_wait' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
      osf_wait4: switch to kernel_wait4()
      waitid(): switch copyout of siginfo to unsafe_put_user()
      wait_task_zombie: consolidate info logics
      kill wait_noreap_copyout()
      lift getrusage() from wait_noreap_copyout()
      waitid(2): leave copyout of siginfo to syscall itself
      kernel_wait4()/kernel_waitid(): delay copying status to userland
      wait4(2)/waitid(2): separate copying rusage to userland
      move compat wait4 and waitid next to native variants
    4be95131
compat.c 18.9 KB