PERFORCE change 89754 for review

Robert Watson rwatson at FreeBSD.org
Sun Jan 15 13:45:13 PST 2006


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

Change 89754 by rwatson at rwatson_fledge on 2006/01/15 21:44:27

	Move audit_event_map from libbsm.h to bsm_mask.h as it is a
	private data structure used to maintain a cache of audit events,
	not part of the public API.

Affected files ...

.. //depot/projects/trustedbsd/openbsm/bsm/libbsm.h#10 edit
.. //depot/projects/trustedbsd/openbsm/libbsm/bsm_mask.c#7 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/bsm/libbsm.h#10 (text+ko) ====

@@ -133,10 +133,6 @@
 } while(0)
 
 __BEGIN_DECLS
-struct audit_event_map {
-	struct au_event_ent		*ev;
-	LIST_ENTRY(audit_event_map)	 ev_list;
-};
 
 /*
  * Internal representation of audit user in libnsl.

==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_mask.c#7 (text+ko) ====

@@ -46,6 +46,10 @@
  * XXXRW: Note that despite (mutex), load_event_table() could race with
  * other consumers of the getauevents() API.
  */
+struct audit_event_map {
+	struct au_event_ent		*ev;
+	LIST_ENTRY(audit_event_map)	 ev_list;
+};
 static LIST_HEAD(, audit_event_map)	ev_cache;
 
 static int


More information about the p4-projects mailing list