Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Apr 2002 14:07:25 -0700 (PDT)
From:      "Andrew R. Reiter" <arr@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 9470 for review
Message-ID:  <200204092107.g39L7PM46885@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




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