From owner-p4-projects Fri Aug 16 6:17: 9 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 6680637B401; Fri, 16 Aug 2002 06:17:05 -0700 (PDT) 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 024E637B400 for ; Fri, 16 Aug 2002 06:17:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B831943E6E for ; Fri, 16 Aug 2002 06:17:04 -0700 (PDT) (envelope-from cvance@tislabs.com) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7GDH4JU095708 for ; Fri, 16 Aug 2002 06:17:04 -0700 (PDT) (envelope-from cvance@tislabs.com) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7GDH4xX095705 for perforce@freebsd.org; Fri, 16 Aug 2002 06:17:04 -0700 (PDT) Date: Fri, 16 Aug 2002 06:17:04 -0700 (PDT) Message-Id: <200208161317.g7GDH4xX095705@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to cvance@tislabs.com using -f From: Chris Vance Subject: PERFORCE change 16106 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=16106 Change 16106 by cvance@cvance_laptop on 2002/08/16 06:16:17 Oops, after resolving I missed this one: Also pass thread to MAC syscall handlers. Affected files ... .. //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#246 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#246 (text+ko) ==== @@ -3259,8 +3259,9 @@ LIST_FOREACH(mpc, &mac_policy_list, mpc_list) { if (strcmp(mpc->mpc_name, target) == 0 && mpc->mpc_ops->mpo_mac_syscall) { - error = mpc->mpc_ops->mpo_mac_syscall(SCARG(uap, call), - SCARG(uap, arg)); + error = mpc->mpc_ops->mpo_mac_syscall(td, + SCARG(uap, call), + SCARG(uap, arg)); goto out; } } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message