David S. Miller
fd7354108a
sparc64: Fix accidental syscall restart on child return from clone/fork/vfork.
...
This fixes a regression added by
238468b2ac76020c192a7402c92df5097916bf4a ("[SPARC64]: Use trap type
stored in pt_regs to handle syscall restart.")
Because we now encode the "returning from syscall" status in the
pt_regs area, we have to be mindful to zap it out in the child
of a fork.
During a parallel kernel build I saw an accidental -EINTR return
from vfork() in 'make' because of this bug.
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-04-27 15:09:15 -07:00
..
2008-04-26 21:41:19 -07:00
2008-03-25 21:51:40 -07:00
2008-03-23 22:48:29 -07:00
2008-04-23 23:32:16 -07:00
2008-04-24 03:15:22 -07:00
2008-04-24 03:15:22 -07:00
2008-04-23 23:32:20 -07:00
2008-03-21 17:01:38 -07:00
2008-02-20 22:22:16 -08:00
2008-03-28 15:56:01 -07:00
2008-04-23 23:32:16 -07:00
2008-04-26 21:41:15 -07:00
2008-02-19 20:48:58 -08:00
2008-04-26 21:41:23 -07:00
2008-04-23 23:32:12 -07:00
2008-04-26 21:41:20 -07:00
2008-04-23 23:32:16 -07:00
2008-04-23 23:32:16 -07:00
2008-04-23 23:32:16 -07:00
2008-04-23 23:32:16 -07:00
2008-04-23 23:32:16 -07:00
2008-04-23 23:32:16 -07:00
2008-04-23 23:32:16 -07:00
2008-04-26 21:41:23 -07:00
2008-02-19 20:39:18 -08:00
2008-04-27 15:09:15 -07:00
2008-04-23 23:32:11 -07:00
2008-04-09 19:39:25 -07:00
2008-04-24 03:15:22 -07:00
2008-04-23 23:32:16 -07:00
2008-04-23 23:32:20 -07:00
2008-04-27 02:26:36 -07:00
2008-04-27 14:52:51 -07:00
2008-04-25 03:11:37 -07:00
2008-04-26 21:41:23 -07:00
2008-04-24 03:28:52 -07:00
2008-04-24 03:15:22 -07:00
2008-04-27 02:26:36 -07:00
2008-04-25 02:12:05 -07:00
2008-04-23 23:32:17 -07:00
2008-04-21 15:10:15 -07:00
2008-04-21 15:10:15 -07:00
2008-03-26 01:11:55 -07:00
2008-03-21 17:01:38 -07:00
2008-04-24 03:28:52 -07:00
2008-04-24 03:15:22 -07:00
2008-04-21 15:10:15 -07:00
2008-02-17 23:24:10 -08:00
2008-04-24 03:15:22 -07:00