Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 2017 11:27:35 -0800
From:      John Baldwin <jhb@freebsd.org>
To:        Fedor Uporov <fsu@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r326282 - in head/sys: amd64/linux amd64/linux32 i386/linux
Message-ID:  <2015849.BP9pEIm6Xk@ralph.baldwin.cx>
In-Reply-To: <201711271703.vARH3B5c049482@repo.freebsd.org>
References:  <201711271703.vARH3B5c049482@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2015849.BP9pEIm6Xk>