PERFORCE change 91444 for review

Robert Watson rwatson at FreeBSD.org
Thu Feb 9 18:55:02 GMT 2006


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

Change 91444 by rwatson at rwatson_zoo on 2006/02/09 18:54:12

	Count drops when the first of two mallocs fails.

Affected files ...

.. //depot/projects/trustedbsd/audit3/sys/security/audit/audit_pipe.c#8 edit

Differences ...

==== //depot/projects/trustedbsd/audit3/sys/security/audit/audit_pipe.c#8 (text+ko) ====

@@ -180,6 +180,7 @@
 	ape = malloc(sizeof(*ape), M_AUDIT_PIPE_ENTRY, M_NOWAIT | M_ZERO);
 	if (ape == NULL) {
 		ap->ap_drops++;
+		audit_pipe_drops++;
 		return;
 	}
 
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list