Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jun 2003 21:55:24 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 33504 for review
Message-ID:  <200306220455.h5M4tOfR042277@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=33504

Change 33504 by rwatson@rwatson_powerbook on 2003/06/21 21:54:28

	"#if 0" any entry points that relate to image_parems; largely
	execution related, for now.
	
	"#if 0" any entry points relating to ACLs, since Darwin doesn't
	currently support them.

Affected files ...

.. //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/kern/kern_mac.c#7 edit

Differences ...

==== //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/kern/kern_mac.c#7 (text+ko) ====

@@ -1510,6 +1510,7 @@
 	return (error);
 }
 
+#if 0
 int
 mac_execve_enter(struct image_params *imgp, struct mac *mac_p,
     struct label *execlabelstorage)
@@ -1585,6 +1586,7 @@
 
 	return (result);
 }
+#endif
 
 int
 mac_check_vnode_access(struct ucred *cred, struct vnode *vp, int acc_mode)
@@ -1660,6 +1662,7 @@
 	return (error);
 }
 
+#if 0
 int
 mac_check_vnode_deleteacl(struct ucred *cred, struct vnode *vp,
     acl_type_t type)
@@ -1674,7 +1677,9 @@
 	MAC_CHECK(check_vnode_deleteacl, cred, vp, &vp->v_label, type);
 	return (error);
 }
+#endif
 
+#if 0
 int
 mac_check_vnode_exec(struct ucred *cred, struct vnode *vp,
     struct image_params *imgp)
@@ -1691,7 +1696,9 @@
 
 	return (error);
 }
+#endif
 
+#if 0
 int
 mac_check_vnode_getacl(struct ucred *cred, struct vnode *vp, acl_type_t type)
 {
@@ -1705,6 +1712,7 @@
 	MAC_CHECK(check_vnode_getacl, cred, vp, &vp->v_label, type);
 	return (error);
 }
+#endif
 
 int
 mac_check_vnode_getextattr(struct ucred *cred, struct vnode *vp,
@@ -1935,6 +1943,7 @@
 	return (error);
 }
 
+#if 0
 int
 mac_check_vnode_setacl(struct ucred *cred, struct vnode *vp, acl_type_t type,
     struct acl *acl)
@@ -1949,6 +1958,7 @@
 	MAC_CHECK(check_vnode_setacl, cred, vp, &vp->v_label, type, acl);
 	return (error);
 }
+#endif
 
 int
 mac_check_vnode_setextattr(struct ucred *cred, struct vnode *vp,


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