christos@zoulas.com (Christos Zoulas) writes:
> Yes, please be very careful about introducing siginfo to programs.
> It can interfere with the operation of the program, because system
> calls (such as write) can be interrupted by it. When siginfo got
> added to dd, it caused that problem and the write inside bwrite
> had to be protected against receiving the signal.
I'm missing something here, isn't it enough to install the signal
handler with SA_RESTART?
/assar