From owner-p4-projects Thu Aug 15 9: 4: 9 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id CFDBA37B405; Thu, 15 Aug 2002 09:04:03 -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 79AC037B400 for ; Thu, 15 Aug 2002 09:04:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19B7343E9E for ; Thu, 15 Aug 2002 09:03:05 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7FG2OJU054537 for ; Thu, 15 Aug 2002 09:02:24 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7FG2ODW054534 for perforce@freebsd.org; Thu, 15 Aug 2002 09:02:24 -0700 (PDT) Date: Thu, 15 Aug 2002 09:02:24 -0700 (PDT) Message-Id: <200208151602.g7FG2ODW054534@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson Subject: PERFORCE change 16030 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=16030 Change 16030 by rwatson@rwatson_tislabs on 2002/08/15 09:01:25 Restore the static qualifier to mac_cred_mmapped_drop_perms(), which was lost in the addition of mac_get_pid(), but appears to be correct. Affected files ... .. //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#244 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#244 (text+ko) ==== @@ -201,7 +201,7 @@ static int mac_policy_unregister(struct mac_policy_conf *mpc); static int mac_stdcreatevnode_ea(struct vnode *vp); -void mac_cred_mmapped_drop_perms(struct thread *td, +static void mac_cred_mmapped_drop_perms(struct thread *td, struct ucred *cred); static void mac_cred_mmapped_drop_perms_recurse(struct thread *td, struct ucred *cred, struct vm_map *map); @@ -2113,7 +2113,7 @@ * memory space, and revoke access (in the least surprising ways we * know) when necessary. The process lock is not held here. */ -void +static void mac_cred_mmapped_drop_perms(struct thread *td, struct ucred *cred) { To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message