Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Feb 2008 17:24:50 GMT
From:      "Christian S.J. Peron" <csjp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 136101 for review
Message-ID:  <200802241724.m1OHOoOb066194@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=136101

Change 136101 by csjp@ibm01 on 2008/02/24 17:24:45

	Check for EINTR instead of EAGAIN, the intent is to identify interrupted
	system calls that was a result of signal delivery.

Affected files ...

.. //depot/projects/trustedbsd/netauditd/netauditd.c#6 edit

Differences ...

==== //depot/projects/trustedbsd/netauditd/netauditd.c#6 (text+ko) ====

@@ -410,7 +410,7 @@
 		memcpy(&rfds, &srfds, sizeof(rfds));
 		ret = select(FD_SETSIZE, &rfds, NULL, NULL, &tv);
 		if (ret == -1) {
-			if (errno != EAGAIN)
+			if (errno != EINTR)
 				exit(2);
 			else
 				continue;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802241724.m1OHOoOb066194>