PERFORCE change 75792 for review

Robert Watson rwatson at FreeBSD.org
Sat Apr 23 11:35:38 GMT 2005


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

Change 75792 by rwatson at rwatson_paprika on 2005/04/23 11:35:25

	Define free_au_user_ent() so that au_user_ents can be free'd.

Affected files ...

.. //depot/projects/trustedbsd/openbsm/libbsm/bsm_user.c#2 edit
.. //depot/projects/trustedbsd/openbsm/libbsm/libbsm.h#4 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_user.c#2 (text+ko) ====

@@ -303,3 +303,13 @@
 
 	return 0;
 }
+
+/*
+ * Allow the caller to free an au_user_ent.
+ */
+void
+free_au_user_ent(struct au_user_ent *u)
+{
+
+	destroy_user_area(u);
+}

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

@@ -832,6 +832,7 @@
 int au_user_mask(char *username, au_mask_t *mask_p);
 int getfauditflags(au_mask_t *usremask, au_mask_t *usrdmask, 
                                 au_mask_t *lastmask);
+void free_au_user_ent(struct au_user_ent *u);
 
 
 int au_read_rec(FILE *fp, u_char **buf);
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