PERFORCE change 16030 for review

Robert Watson rwatson at freebsd.org
Thu Aug 15 16:02:24 GMT 2002


http://people.freebsd.org/~peter/p4db/chv.cgi?CH=16030

Change 16030 by rwatson at 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 at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list