From owner-p4-projects@FreeBSD.ORG Mon Mar 20 17:52:25 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 5D79C16A426; Mon, 20 Mar 2006 17:52:25 +0000 (UTC) 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 3D7E716A423 for ; Mon, 20 Mar 2006 17:52:25 +0000 (UTC) (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 0E4DD43D6D for ; Mon, 20 Mar 2006 17:52:25 +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 k2KHqOEH027601 for ; Mon, 20 Mar 2006 17:52:24 GMT (envelope-from millert@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k2KHqO5h027598 for perforce@freebsd.org; Mon, 20 Mar 2006 17:52:24 GMT (envelope-from millert@freebsd.org) Date: Mon, 20 Mar 2006 17:52:24 GMT Message-Id: <200603201752.k2KHqO5h027598@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 93645 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: Mon, 20 Mar 2006 17:52:25 -0000 http://perforce.freebsd.org/chv.cgi?CH=93645 Change 93645 by millert@millert_p3 on 2006/03/20 17:51:24 Arg pointer in mac_thread_syscall_{enter,exit} should be register_t * not int *. Fixes compilation problem on amd64. Affected files ... .. //depot/projects/trustedbsd/sebsd/sys/security/mac/mac_system.c#10 edit Differences ... ==== //depot/projects/trustedbsd/sebsd/sys/security/mac/mac_system.c#10 (text+ko) ==== @@ -282,7 +282,7 @@ } int -mac_thread_syscall_enter(struct thread *td, int *args, int code) +mac_thread_syscall_enter(struct thread *td, register_t *args, int code) { int error; @@ -293,7 +293,7 @@ } void -mac_thread_syscall_exit(struct thread *td, int *args, int code, int errcode) +mac_thread_syscall_exit(struct thread *td, register_t *args, int code, int errcode) { if (!mac_enforce_syscall)