Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F169741520
D50140.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
600 B
Referenced Files
None
Subscribers
None
D50140.id.diff
View Options
diff --git a/sys/kern/vfs_default.c b/sys/kern/vfs_default.c
--- a/sys/kern/vfs_default.c
+++ b/sys/kern/vfs_default.c
@@ -452,6 +452,7 @@
case _PC_INF_PRESENT:
case _PC_MAC_PRESENT:
case _PC_NAMEDATTR_ENABLED:
+ case _PC_HAS_NAMEDATTR:
*ap->a_retval = 0;
return (0);
default:
diff --git a/sys/sys/unistd.h b/sys/sys/unistd.h
--- a/sys/sys/unistd.h
+++ b/sys/sys/unistd.h
@@ -155,6 +155,7 @@
#define _PC_ACL_NFS4 64
#define _PC_DEALLOC_PRESENT 65
#define _PC_NAMEDATTR_ENABLED 66
+#define _PC_HAS_NAMEDATTR 67
#endif
/* From OpenSolaris, used by SEEK_DATA/SEEK_HOLE. */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Sep 3, 10:40 AM (5 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38086428
Default Alt Text
D50140.id.diff (600 B)
Attached To
Mode
D50140: vfs_default.c: Add _PC_HAS_NAMEDATTR pathconf name
Attached
Detach File
Event Timeline
Log In to Comment