From owner-p4-projects@FreeBSD.ORG Tue Nov 21 17:17:56 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 60A7816B54B; Tue, 21 Nov 2006 17:17:48 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 27CF916B1E4 for ; Tue, 21 Nov 2006 17:17:47 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id A195A43E12 for ; Tue, 21 Nov 2006 17:08:42 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kALH8VIV064881 for ; Tue, 21 Nov 2006 17:08:31 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kALH8Vk4064877 for perforce@freebsd.org; Tue, 21 Nov 2006 17:08:31 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Tue, 21 Nov 2006 17:08:31 GMT Message-Id: <200611211708.kALH8Vk4064877@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Cc: Subject: PERFORCE change 110219 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Nov 2006 17:17:56 -0000 http://perforce.freebsd.org/chv.cgi?CH=110219 Change 110219 by rwatson@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); }