PERFORCE change 33504 for review
Robert Watson
rwatson at FreeBSD.org
Sun Jun 22 04:55:24 GMT 2003
http://perforce.freebsd.org/chv.cgi?CH=33504
Change 33504 by rwatson at 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,
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