From owner-p4-projects Tue Apr 9 14: 7:32 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 8485137B404; Tue, 9 Apr 2002 14:07:26 -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 E14D137B400 for ; Tue, 9 Apr 2002 14:07:25 -0700 (PDT) Received: (from perforce@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g39L7PM46885 for perforce@freebsd.org; Tue, 9 Apr 2002 14:07:25 -0700 (PDT) (envelope-from arr@freebsd.org) Date: Tue, 9 Apr 2002 14:07:25 -0700 (PDT) Message-Id: <200204092107.g39L7PM46885@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 9470 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=9470 Change 9470 by arr@arr_shibby on 2002/04/09 14:06:25 - Remove audit_info and AINFO locking macros (design change) Affected files ... ... //depot/projects/trustedbsd/audit/sys/sys/audit.h#12 edit Differences ... ==== //depot/projects/trustedbsd/audit/sys/sys/audit.h#12 (text+ko) ==== @@ -59,23 +59,6 @@ typedef void * audit_event_info_t; typedef struct timespec audit_time_t; -/* - * Holds audit system key references. - */ -struct audit_info { - struct mtx ai_mtx; - vm_zone_t ai_zone; - struct ucred *ai_cred; - struct vnode *ai_vp; - audit_id_t ai_id; - u_long ai_leased; - char *ai_lname; -}; - -#define AINFO_LOCK(a) mtx_lock(&(a)->ai_mtx) -#define AINFO_UNLOCK(a) mtx_unlock(&(a)->ai_mtx) -#define AINFO_ASSERT_OWNED(a) mtx_assert(&(a)->ai_mtx, MA_OWNED) - typedef struct audit_header { audit_status_t ah_evresult; unsigned short ah_v; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message