truss(1) locked in kernel with 8.0-BETA2
Ed Schouten
ed at 80386.nl
Sun Aug 23 06:51:00 UTC 2009
* Nathan Lay <nslay at comcast.net> wrote:
> Instead of zeroing and setting master and STDIN_FILENO on the fd_set
> every iteration, <snip>
The current code doesn't zero the fdsets each iteration, only during
startup:
| FD_ZERO(&rfd);
| for (;;) {
| FD_SET(master, &rfd);
| if (!nostdin)
| FD_SET(STDIN_FILENO, &rfd);
--
Ed Schouten <ed at 80386.nl>
WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20090823/d6078dfd/attachment.pgp
More information about the freebsd-current
mailing list