From owner-p4-projects@FreeBSD.ORG Thu Feb 9 20:07:37 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 2DB7316A423; Thu, 9 Feb 2006 20:07:37 +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 E4CBB16A420 for ; Thu, 9 Feb 2006 20:07:36 +0000 (GMT) (envelope-from millert@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B19EB43D45 for ; Thu, 9 Feb 2006 20:07:36 +0000 (GMT) (envelope-from millert@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k19K7ate030640 for ; Thu, 9 Feb 2006 20:07:36 GMT (envelope-from millert@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k19K7abL030637 for perforce@freebsd.org; Thu, 9 Feb 2006 20:07:36 GMT (envelope-from millert@freebsd.org) Date: Thu, 9 Feb 2006 20:07:36 GMT Message-Id: <200602092007.k19K7abL030637@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to millert@freebsd.org using -f From: Todd Miller To: Perforce Change Reviews Cc: Subject: PERFORCE change 91457 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: Thu, 09 Feb 2006 20:07:38 -0000 http://perforce.freebsd.org/chv.cgi?CH=91457 Change 91457 by millert@millert_ibook on 2006/02/09 20:07:21 #ifdef MAC for the AV trailer code Affected files ... .. //depot/projects/trustedbsd/sedarwin7/src/darwin/xnu/osfmk/ipc/mach_msg.c#8 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin7/src/darwin/xnu/osfmk/ipc/mach_msg.c#8 (text+ko) ==== @@ -272,6 +272,7 @@ if (option & MACH_RCV_TRAILER_ELEMENTS (MACH_RCV_TRAILER_AV)) { +#ifdef MAC if (kmsg->ikm_sender != NULL && IP_VALID(kmsg->ikm_header.msgh_remote_port)) { trailer->msgh_ad = !mac_check_ipc_method @@ -280,6 +281,7 @@ kmsg->ikm_header.msgh_id); } else +#endif trailer->msgh_ad = 0; }