Re: [PATCH] making dump EINTR resistant
Bruce Evans <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.audit |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 4 Jun 2002, Alexander Leidinger wrote: > Benjamin Lewis <[email protected]> had some problems with dump, have > a look at the -current archives (Subject: "Is anyone else having trouble > with dump(8) on -current?", around May 15.). > > I had such a problem on 4.x (perhaps 4.2 or 4.3) once too (I wasn't able > to reproduce it, Benjamin is able to reproduce it on -current) and wrote > the attached patch to solve the problem. Since I wrote it for 4.x, it > runs fine (actually on a 4.4 system which does daily backups to a spare > harddisk). Benjamin uses it also on a daily basis on -current. > > The attached diff is against -current. > > Comments? read(), etc., are supposed to be restarted after signals, so the EINTR checks should have no effect in most cases. Bruce To Unsubscribe: send mail to [email protected] with "unsubscribe freebsd-audit" in the body of the message