From owner-p4-projects Wed May 1 14:23:58 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id B6CD937B41A; Wed, 1 May 2002 14:23:53 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E181837B416 for ; Wed, 1 May 2002 14:23:52 -0700 (PDT) Received: (from perforce@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g41LNq584573 for perforce@freebsd.org; Wed, 1 May 2002 14:23:52 -0700 (PDT) (envelope-from arr@freebsd.org) Date: Wed, 1 May 2002 14:23:52 -0700 (PDT) Message-Id: <200205012123.g41LNq584573@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to arr@freebsd.org using -f From: "Andrew R. Reiter" Subject: PERFORCE change 10597 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=10597 Change 10597 by arr@arr_shibby on 2002/05/01 14:23:01 - Initialize audit records with AUDIT_EVR_FAILED so that we only set the ah_evresult variable on failed events. If we find that doing the opposite is "better," then we'll do that. Affected files ... ... //depot/projects/trustedbsd/audit/sys/kern/kern_audit.c#28 edit Differences ... ==== //depot/projects/trustedbsd/audit/sys/kern/kern_audit.c#28 (text+ko) ==== @@ -93,6 +93,7 @@ h->ah_id = audit_id++; h->ah_len = AUDIT_RECORD_SZ + evsz; h->ah_type = type; + h->ah_evresult = AUDIT_EVR_SUCCESS; nanotime(&h->ah_evtime); return (rec); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message