From owner-p4-projects@FreeBSD.ORG Sun Feb 5 13:24:46 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 7CAED16A423; Sun, 5 Feb 2006 13:24:45 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2765D16A420 for ; Sun, 5 Feb 2006 13:24:45 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA46143D45 for ; Sun, 5 Feb 2006 13:24:44 +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.1/8.13.1) with ESMTP id k15DOixo034567 for ; Sun, 5 Feb 2006 13:24:44 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k15DOimq034564 for perforce@freebsd.org; Sun, 5 Feb 2006 13:24:44 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Sun, 5 Feb 2006 13:24:44 GMT Message-Id: <200602051324.k15DOimq034564@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 91160 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: Sun, 05 Feb 2006 13:24:46 -0000 http://perforce.freebsd.org/chv.cgi?CH=91160 Change 91160 by rwatson@rwatson_zoo on 2006/02/05 13:24:16 Correct typo: allocate size of record, not size of pointer, caught immediately by kassert on test box. Affected files ... .. //depot/projects/trustedbsd/audit3/sys/security/audit/audit.c#7 edit Differences ... ==== //depot/projects/trustedbsd/audit3/sys/security/audit/audit.c#7 (text+ko) ==== @@ -636,7 +636,7 @@ cv_init(&audit_fail_cv, "audit_fail_cv"); audit_record_zone = uma_zcreate("audit_record_zone", - sizeof(struct kaudit_record *), audit_record_ctor, + sizeof(struct kaudit_record), audit_record_ctor, audit_record_dtor, NULL, NULL, UMA_ALIGN_PTR, 0); /* Initialize the BSM audit subsystem. */