Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2002 09:02:24 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 16030 for review
Message-ID:  <200208151602.g7FG2ODW054534@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208151602.g7FG2ODW054534>