Re: [PATCH] making dump EINTR resistant
"Todd C. Miller" <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.audit |
|---|---|
| Message-ID | <[email protected]> |
In message <p05111726b923006f0c07@[128.113.24.47]> so spake Garance A Drosihn (drosih): > Would it be acceptable to add EINTR-type checks to freebsd-ish > code? There are some sections of lpr/lpd which do not work > right when compiled on other platforms, unless I add EINTR > checks at the right places. It would probably be better to just make the code in question to just use sigaction() if you are concerned about portability. That way you get consistent handling of syscall restarts. Alternately, you could #define signal to bsd_signal when compiling on non-BSD platforms. That is not quite as portable though. - todd To Unsubscribe: send mail to [email protected] with "unsubscribe freebsd-audit" in the body of the message