[Bug 234713] under linux emulation listxattr returns incorrect result
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jan 9 09:56:00 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234713
--- Comment #2 from Fedor Uporov <fsu at FreeBSD.org> ---
The listxattr and other extattr related linux emulator calls are implemented as
dummy calls.
See DUMMY_XATTR macro in the linux_dummy.c. The dummy calls return values are
ENOATTR in all cases. After the bsd_to_linux_errno mapping the linux ENODATA
(-61) will be returned.
Before the r326282 it was linux EOPNOTSUPP (-95).
It is possible to change dummy calls return values from ENOATTR to EOPNOTSUPP.
I am not clearly understand, why it was not done from beginning? Is it possible
to affect someone if the error code will be changed?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-emulation
mailing list