PERFORCE change 174017 for review
Robert Watson
rwatson at FreeBSD.org
Sun Jan 31 13:00:17 UTC 2010
http://p4web.freebsd.org/chv.cgi?CH=174017
Change 174017 by rwatson at rwatson_vimage_client on 2010/01/31 12:59:26
Disable fdesc_setattr, not fdesc_getattr.
Affected files ...
.. //depot/projects/trustedbsd/capabilities/src/sys/fs/fdescfs/fdesc_vnops.c#9 edit
Differences ...
==== //depot/projects/trustedbsd/capabilities/src/sys/fs/fdescfs/fdesc_vnops.c#9 (text+ko) ====
@@ -392,7 +392,6 @@
} */ *ap;
{
-#if 0
struct vnode *vp = ap->a_vp;
struct vattr *vap = ap->a_vap;
@@ -432,9 +431,6 @@
vp->v_type = vap->va_type;
return (0);
-#else
- return (EOPNOTSUPP);
-#endif
}
static int
@@ -445,6 +441,7 @@
struct ucred *a_cred;
} */ *ap;
{
+#if 0
struct vattr *vap = ap->a_vap;
struct vnode *vp;
struct mount *mp;
@@ -488,6 +485,9 @@
}
fdrop(fp, td);
return (error);
+#else
+ return (EOPNOTSUPP);
+#endif
}
#define UIO_MX 16
More information about the p4-projects
mailing list