PERFORCE change 136101 for review

Christian S.J. Peron csjp at FreeBSD.org
Sun Feb 24 17:24:51 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=136101

Change 136101 by csjp at 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;


More information about the p4-projects mailing list