svn commit: r326282 - in head/sys: amd64/linux amd64/linux32 i386/linux
John Baldwin
jhb at freebsd.org
Mon Nov 27 20:43:44 UTC 2017
On Monday, November 27, 2017 05:03:11 PM Fedor Uporov wrote:
> Author: fsu
> Date: Mon Nov 27 17:03:11 2017
> New Revision: 326282
> URL: https://svnweb.freebsd.org/changeset/base/326282
>
> Log:
> Remap ENOATTR to ENODATA in the linuxulator.
> In the linux ENOADATA is frequently #defined as ENOATTR.
> The change is required for an xattrs support implementation.
>
> MFC after: 1 week
> Discussed with: netchild
> Approved by: pfg
Please also update the table in lib/libsysdecode/errno.c
(bsd_to_linux_errno[]).
It is kind of crummy to have 4 identical copies of this table. We
should probably move it into some shared header file (libsysdecode
already depends on files from sys/, so the header could live in
sys/, maybe sys/x86/linux/errno.h or some such, or if it is MI
sys/compat/linux/linux_errno.h)
--
John Baldwin
More information about the svn-src-all
mailing list