Re: [PATCH] salinfo_decode silent exit in older 2.4s

From: Keith Owens <>
Date: 2005-04-11 09:58:24
On Fri, 08 Apr 2005 15:23:43 -0600, 
dann frazier <> wrote:
>I was playing with salinfo_decode on an older kernel (2.4.21 era) and it
>would normally die silently right after exec.
>This no longer happens because of a semantic difference that occurred in
>later 2.4 kernels.  Older 2.4s would return -EINTR when they wanted
>userspace to try again, while current 2.4s use -ERESTARTSYS.  (The
>surrounding code is also somewhat different, but it looks like the idea
>is the same).

ERESTARTSYS should never be seen by user space code.  The kernel should
either restart the current syscall or convert the code to EINTR before
returning to user space.  If you are seeing ERESTARTSYS in user space
then it is a kernel bug.

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Sun Apr 10 19:59:26 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:37 EST