https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208965
Bug ID: 208965
Summary: extattr(2) doesn't allow attribute names of length
EXTATTR_MAXNAMELEN
Product: Base System
Version: 11.0-CURRENT
Hardware: amd64
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
CC: [email protected]
extattr(2) claims that attribute names may be up to EXTATTR_MAXNAMELEN in
length. However, in practice it only allows attribute names of up to
EXTATTR_MAXNAMELEN - 1.
[alans@alans-fbsd-head2 /tmp]$ touch foo
[alans@alans-fbsd-head2 /tmp]$ ATTRNAME=`jot -b X -s "" 255 0`
[alans@alans-fbsd-head2 /tmp]$ setextattr user $ATTRNAME myvalue foo
setextattr: foo: failed: File name too long
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to "[email protected]"