PERFORCE change 110219 for review

Robert Watson rwatson at FreeBSD.org
Tue Nov 21 16:24:19 UTC 2006


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

Change 110219 by rwatson at rwatson_fledge on 2006/11/18 16:48:14

	When generating variants of the same token or record using IPv4
	or IPv6 addresses, use the generated string with the address
	type for the target filename.

Affected files ...

.. //depot/projects/trustedbsd/openbsm/test/bsm/generate.c#8 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/test/bsm/generate.c#8 (text+ko) ====

@@ -23,7 +23,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * $P4: //depot/projects/trustedbsd/openbsm/test/bsm/generate.c#7 $
+ * $P4: //depot/projects/trustedbsd/openbsm/test/bsm/generate.c#8 $
  */
 
 /*
@@ -455,7 +455,7 @@
 	    process32_sid, &process32_tid_addr);
 	if (process32ex_token == NULL)
 		err(EX_UNAVAILABLE, "au_to_process32_ex");
-	write_record(directory, record_filename, process32ex_token, AUE_NULL);
+	write_record(directory, buf, process32ex_token, AUE_NULL);
 	free(buf);
 }
 
@@ -522,7 +522,7 @@
 	    process64_sid, &process64_tid_addr);
 	if (process64ex_token == NULL)
 		err(EX_UNAVAILABLE, "au_to_process64_ex");
-	write_token(directory, token_filename, process64ex_token);
+	write_token(directory, buf, process64ex_token);
 	free(buf);
 }
 
@@ -549,7 +549,7 @@
 	    process64_sid, &process64_tid_addr);
 	if (process64ex_token == NULL)
 		err(EX_UNAVAILABLE, "au_to_process64_ex");
-	write_record(directory, record_filename, process64ex_token, AUE_NULL);
+	write_record(directory, buf, process64ex_token, AUE_NULL);
 	free(buf);
 }
 


More information about the trustedbsd-cvs mailing list