Subject: Re: ^T for fsck
To: Christos Zoulas <christos@zoulas.com>
From: Assar Westerlund <assar@netbsd.org>
List: tech-userlevel
Date: 03/04/2001 15:14:01
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