Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Jan 2019 09:55:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        emulation@FreeBSD.org
Subject:   [Bug 234713] under linux emulation listxattr returns incorrect result
Message-ID:  <bug-234713-4077-FCWHSfSFda@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234713-4077@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234713-4077@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

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

--- Comment #2 from Fedor Uporov <fsu@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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234713-4077-FCWHSfSFda>