PERFORCE change 144384 for review
Edward Tomasz Napierala
trasz at FreeBSD.org
Mon Jun 30 20:13:55 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=144384
Change 144384 by trasz at trasz_traszkan on 2008/06/30 20:13:52
Rename a flag to match Darwin.
Affected files ...
.. //depot/projects/soc2008/trasz_nfs4acl/sys/sys/unistd.h#3 edit
.. //depot/projects/soc2008/trasz_nfs4acl/sys/ufs/ufs/ufs_vnops.c#4 edit
Differences ...
==== //depot/projects/soc2008/trasz_nfs4acl/sys/sys/unistd.h#3 (text+ko) ====
@@ -153,7 +153,7 @@
#define _PC_CAP_PRESENT 61
#define _PC_INF_PRESENT 62
#define _PC_MAC_PRESENT 63
-#define _ACL_ACE_ENABLED 64
+#define _PC_EXTENDED_SECURITY_NP 64
#endif
/* From OpenSolaris, used by SEEK_DATA/SEEK_HOLE. */
==== //depot/projects/soc2008/trasz_nfs4acl/sys/ufs/ufs/ufs_vnops.c#4 (text+ko) ====
@@ -2103,11 +2103,15 @@
#endif
break;
- case _ACL_ACE_ENABLED:
+ case _PC_EXTENDED_SECURITY_NP:
+#ifdef UFS_ACL
if (ap->a_vp->v_mount->mnt_flag & MNT_NFS4ACLS)
*ap->a_retval = 1;
else
*ap->a_retval = 0;
+#else
+ *ap->a_retval = 0;
+#endif
break;
case _PC_ACL_PATH_MAX:
More information about the p4-projects
mailing list