hoi :) On Wed, May 04, 2005 at 09:22:09AM -0400, Richard B. Johnson wrote: > Does anybody know for sure if global 'errno' is supposed to > be altered after a successful system call? I'm trying to > track down a problem where system calls return with EINTR > even though all signal handlers are set with SA_RESTART in > the flags. syscalls are only automatically restarted by the interrupt if the syscall returns -ERESTARTSYS. If it returns -EINTR itself then that will be delivered to userspace even when it sets SA_RESTART. -- Martin Waitz
Attachment:
signature.asc
Description: Digital signature
- References:
- System call v.s. errno
- From: "Richard B. Johnson" <[email protected]>
- System call v.s. errno
- Prev by Date: Re: zImage on 2.6?
- Next by Date: Re: [RCF] [PATCH] unprivileged mount/umount
- Previous by thread: Re: System call v.s. errno
- Next by thread: Re: System call v.s. errno
- Index(es):