[Bug 234713] under linux emulation listxattr returns incorrect result

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Bug 234713] under linux emulation listxattr returns incorrect result

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234713

--- Comment #2 from Fedor Uporov <[hidden email]> ---
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.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[hidden email]"