Re: [PATCH] UML - signal bug fix

From: Bodo Stroesser (bstroesser_at_fujitsu-siemens.com)
Date: 11/11/04

  • Next message: Alasdair G Kergon: "[PATCH] device-mapper: [2/2] Allow referencing by device number"
    Date:	Thu, 11 Nov 2004 19:09:50 +0100
    To: Jeff Dike <jdike@addtoit.com>
    
    

    Jeff Dike wrote:
    > This patch fixes a bug introduced in the last batch of signal fixes. The
    > system call return value should only be reset if called diectly from a system
    > call, i.e. sigsuspend. The fixes added earlier caused any interrupted non-zero
    > system call return to be reset, confusing fork and vfork, among others.
    >
    > Signed-off-by: Jeff Dike <jdike@addtoit.com>
    >
    Yes. The patchset was wrong.
    But IMHO the solution shouldn't be resetting to the old state, that did syscall
    restarting wrong!
    The problem, you fix here, doesn't occur, when using my complete patchset. And my
    patches fix UML's wrong syscall restart handling. And other issues they fix, too.

    Bodo
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Alasdair G Kergon: "[PATCH] device-mapper: [2/2] Allow referencing by device number"

    Relevant Pages

    • Re: Error Code 80072F78
      ... You need to reset your winsock ... download and install Vista Ultimate SP 1. ... fix and I don't care that your fix was an answer to a 2year old enquiry. ... Please remember that many old fixes for old ...
      (microsoft.public.windowsupdate)
    • Re: 2.4.23pre6aa1
      ... Talked with Trond and he has other fixes pending... ... > doesn't apply cleanly let me know and I can fix it for you. ... Apart from this there's a huge pile of fixes all over in -aa. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Linux 2.6.3-rc3
      ... I guess the patch below fixes it, ... Thanks for the fix though. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Kernel 2.6.0 small fixes
      ... The fixes follow ... Without this fix mmio IDE controllers bomb if you have ... Just a warning fix and behaviour tidy. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [patch] Real-Time Preemption, -VP-2.6.9-rc4-mm1-U3
      ... - build fix: fixes!HIGHMEM compilation, patch from Andrew Rodland ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)