[BusyBox] Re: syslogd sometimes dies writing to remote logger

Matt Kraai kraai at alumni.cmu.edu
Tue Apr 2 11:51:03 UTC 2002


On Tue, Apr 02, 2002 at 11:39:12AM -0700, Manuel Novoa III wrote:
> True but full_write does no EINTR checking... and it seems silly to go
> on a "what calls can fail with EINTR" hunt.  Wouldn't it just be better
> to force restartable syscalls and ignore EINTR entirely?  Especially
> since, if you use POSIX signal semantics and don't restart syscalls,
> even stdio functions like fputc() can fail with EINTR (which is why I
> had to remove EINTR checking in uClibc's stdio lib).  Who wants to
> do EINTR checking on every stdio call?

I didn't know it was possible to have syscalls restart
automatically.  How do we do so?

Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20020402/d6814845/attachment.pgp 


More information about the busybox mailing list